From: Johannes Sixt Date: Mon, 31 Mar 2008 06:17:38 GMT Subject: Re: Truncating and cleaning a imported git repositary to make it more usable Message-ID: <47F08202.9030206@viscovery.net> In-Reply-To: Alex Bennee schrieb: > Hmm thats odd. Despite having successfully run the filter my repo is > still the same size. git-fsck --full shows loads of dangling commits > but I'm guessing because the repo is packed they don't get dropped. Is > it possible to repack the whole repo or do you have to manually unpack > the packs and re-pack? Yes. Run git repack -a -d -f or create a local clone using the file protocol: git clone file://$(pwd)/this that (If you don't use the file protocol, git clone just hard-links the repository, and you again don't get the reduced size.) -- Hannes