Le vendredi 12 septembre 2014 14:59:05 UTC+2, Dale Worley a écrit :
> > From: Alcolo Alcolo <alco...@gmail.com <javascript:>> 
> > There is a way to remove all old replaced commits for ever ? 
> "git gc --aggressive" works, but you have to purge all the recorded 
> references to old commits.  The ones I know of are: 
> You have to set core.logallrefupdates to 'false' to prevent logs from 
> containing references, and gc.pruneexpire to 'now'.  And many scripts 
> that rewrite history leave the old head value in refs/original/..., so 
> you have to do something like: 
>     git update-ref -d refs/original/refs/heads/$BRANCH 
> Dale 

I know that ref logs mechanism exits that can retains against git gc.
If my branch can be garbaged in the future, it's good for me, but I think 
not the case:
because I can always run
git replace -d $(git replace -l)
to restore original informations. For this I think, that git keep all 
ancestry of hidden commits.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to