Re: Repo cleanup problem
- From
Karl Hasselström <kha@treskal.com>
- Date
- May 11, 2007, 08:19 UTC
- Message-ID
- <20070511081906.GA21093@diana.vm.bytemark.co.uk>
- In-Reply-To
- <vpqveezhjb0.fsf@bauges.imag.fr>
On 2007-05-11 10:10:43 +0200, Matthieu Moy wrote:
> Then, to have git-gc remove the old, bad, history, you need to remove > any reference you have to it: branches and tags. git-branch -d and > perhaps git-tag -d will tell you.
The reflog is on by default nowadays, which essentially means that dangling commits won't be pruned for 30 days or something -- unless you delete the references in the reflog as well. "git reflog expire" can probably help here.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle