<dcg...@gmail.com> writes:
>   I am pretty sure most of the files are the same by git diff.

Does that mean that you have actually done a git-diff and examined the
total size of the files whose content has changed?

>   There is only small parts of the code base differ. 
>   Just like you said, I expect only slight size increase with the new 
> branch pushed.
>   However, the repository doubled the size from 4G to 8G. Just as twice as 
> the original size.      

Have you actually enumerated where the space is being consumed?

One way is to execute "git ls-tree --full-tree -r -l [branch]" for each
branch, then use "comm" to find the lines for new/different files in the
second branch.  Total the 4th fields of those lines and see how much
space they occupy (uncompressed).


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to