From: Elijah Newren Date: Sun, 07 Oct 2007 22:00:51 GMT Subject: Re: Trying to use git-filter-branch to compress history by removing large, obsolete binary files Message-ID: <51419b2c0710071500x318ee734n9db6ca9e6daa3196@mail.gmail.com> In-Reply-To: <20071007213817.GJ31659@planck.djpig.de> On 10/7/07, Frank Lichtenheld wrote: > On Sun, Oct 07, 2007 at 03:23:59PM -0600, Elijah Newren wrote: > > The following set of instructions will duplicate my problem with a > > smaller repo; why is the local git repository bigger after running > > git-filter-branch rather than smaller as I'd expect? I'm probably > > missing something obvious, but I have no idea what it is. > > The usual suspect would be the reflog. The git-filter-branch documentation mentions creating refs/original under .git. Unfortunately, it doesn't contain any links or documentation on how I'd clean those out and I haven't been able to figure it out. I asked on #git how to clean these out and got some answers that didn't work (git branch -d and something else I don't remember). So...how do I fix the reflog, and then repack to have a pack under 11MB in size? Thanks, Elijah