Re: why is my repo size ten times bigger than what I expected?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <schwab@xxxxxxxxxxxxxx> wrote:
> Ruben Laguna <ruben.laguna@xxxxxxxxx> 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@xxxxxxxxxxxxxx
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 Â01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>



-- 
/RubÃn
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]