From: Karl Hasselström Date: Fri, 11 May 2007 08:19:06 GMT Subject: Re: Repo cleanup problem Message-ID: <20070511081906.GA21093@diana.vm.bytemark.co.uk> In-Reply-To: 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