From: Nicolas Pitre Date: Mon, 12 May 2008 21:06:08 GMT Subject: Re: Why repository grows after "git gc"? / Purpose of *.keep files? Message-ID: In-Reply-To: <5d46db230805121310q5a0c6037p769ea091c26284d0@mail.gmail.com> On Mon, 12 May 2008, Govind Salinas wrote: > On Mon, May 12, 2008 at 2:36 PM, Nicolas Pitre wrote: > > Sure. But to decide to track only one branch and exclude the others > > require some higher level of git knowledge already. At that point if > > you really care about top packing performances you certainly can deal > > with the .keep file as well. > > I have had some similar problems with .keep files. I cloned a repo I > created that had a branch that I wasn't interested in. I deleted the > branch and then I could never get rid of the (large) number of objects > in that pack until I deleted the .keep and repacked. But as soon as you just "git pull" you'll get the deleted branch back. Nicolas