From: Dmitry Potapov Date: Sun, 07 Oct 2007 23:43:47 GMT Subject: Re: Trying to use git-filter-branch to compress history by removing large, obsolete binary files Message-ID: <20071007234346.GA29433@potapov> In-Reply-To: <51419b2c0710071524q16e9c593s2722dffc826e560d@mail.gmail.com> On Sun, Oct 07, 2007 at 04:24:49PM -0600, Elijah Newren wrote: > $ git reflog expire --all > $ git gc --aggressive --prune I believe this should work: git reflog expire --all --expire-unreachable=0 git gc --prune Warning: all unreachable references will be removed! Dmitry