U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » git
Re: git [message #57394 is a reply to message #57393] Mon, 02 August 2021 21:02 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1431
Registered: December 2006
Ultimate Contributor
mirek wrote on Mon, 02 August 2021 05:33
So it is like 400MB repo vs 200MB repo with rewritten history.

IMHO, it is up to the user to decide how much history he/she wants to get.
There are also other "shallow" options:
--shallow-since=<date>

    Create a shallow clone with a history after the specified time.
--shallow-exclude=<revision>

    Create a shallow clone with a history, excluding commits reachable from a specified remote branch or tag. This option can be specified multiple times.

Another useful thing to use with git is worktrees. They allow you to checkout multiple branches simultaneously.
Basically, you need to check out one bare repo and create a bunch of worktrees.
Well, this depends on user's workflow.

mirek wrote on Mon, 02 August 2021 05:33

Thoughts?
Mirek

Please do not destroy U++ repo very often. Rolling Eyes



Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: flagDEBUGCODE
Next Topic: gtk rendering improvements, BufferPainter::PaintOnceHint
Goto Forum:
  


Current Time: Sun May 24 05:57:56 GMT+2 2026

Total time taken to generate the page: 0.00496 seconds