Re: Why repository grows after "git gc"? / Purpose of *.keep files?
- From
- Govind Salinas <govind@sophiasuchtig.com>
- Date
- May 12, 2008, 21:07 UTC
- Message-ID
- <5d46db230805121407pdb3f6fdnd41898d3dde6862b@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.1.10.0805121704140.23581@xanadu.home>
On Mon, May 12, 2008 at 4:06 PM, Nicolas Pitre <nico@cam.org> wrote:
Show 17 quoted lines
> On Mon, 12 May 2008, Govind Salinas wrote: > > > On Mon, May 12, 2008 at 2:36 PM, Nicolas Pitre <nico@cam.org> 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. > >
If you read the rest of my mail, you will see where I removed it from the hosted server as well. But with difficulty.
Thanks, Govind.