From: Jeff King Date: Wed, 18 Mar 2015 21:07:06 GMT Subject: Re: git pull & git gc Message-ID: <20150318210706.GB3376@peff.net> In-Reply-To: <5509904A.2000606@aegee.org> On Wed, Mar 18, 2015 at 03:48:42PM +0100, Дилян Палаузов wrote: > #ls .git/objects/17/* | wc -l > 30 > > 30 * 256 = 7 680 > 6 700 > > And now? Do I have to run git gc --aggressive ? No, aggressive just controls the time we spend on repacking. If the guess is correct that the objects are kept because they are unreachable but "recent", then shortening the prune expiration time would get rid of them. E.g., "git gc --prune=1.hour.ago". That does not solve the underlying problem discussed elsewhere in the thread, but it would make this particular instance of it go away. :) -Peff