From: Ruben Laguna Date: Mon, 07 Mar 2011 09:59:29 GMT Subject: Re: why is my repo size ten times bigger than what I expected? Message-ID: In-Reply-To: Cloning it that way didn't help either, But I have more info If I set a bare repo and push my four branches to it (master, develop, gh-pages and experimental) the total size of the repo is 2.4MB (instead of 87MB) $ git init --bare en4j_xx $ cd en4j $ git checkout master $ git push file://$PWD/../en4j_xx master $ git checkout develop $ git push file://$PWD/../en4j_xx develop $ git checkout experimental $ git push file://$PWD/../en4j_xx experimental $ git checkout gh-pages $ git push file://$PWD/../en4j_xx gh-pages $ $ du -sh ../en4j_xx 2.3M ../en4j_xx So, how can I find the contents present in en4j that are not present in en4j_xx? On Sat, Mar 5, 2011 at 1:57 PM, Andreas Schwab wrote: > Ruben Laguna writes: > >> also cloning the repo doesn't change a thing >> >> $ git clone en4j en4j_xx >> Cloning into en4j_xx... >> done. >> $ cd en4j_xx >> $ du -sh .git >>  87M    .git >> >> any other idea? > > Please use file://$PWD/en4j as URL, otherwise git clone just hard links > everything. > > Andreas. > > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5 > "And now for something completely different." > -- /Rubén