On Wednesday, June 11, 2014 12:10:43 AM UTC-7, chetna chaudhari wrote:
>
> Hi,
>        I read a line about git  in 
> https://help.github.com/articles/working-with-large-files article 
>
>
> *              "In addition, if a repository is 10 GB in size, Git's 
> architecture requires another 10 GB of extra free space available at all 
> times." *
> can someone please explain , why git needs equal size extra space. And do 
> it affect performance if it does not get that much free space ?
>
>
> -- 
> CHETNA 
>


Chetna, when you clone a Git repository you get a tree of all the files, 
plus a .git directory at the root of the tree that contains the Git data 
and all the file contents. So if you cloned it from a shared spot where it 
was inited ( as a bare) , you'll have roughly twice as much diskspace used 
as the original. Git may also require temp file space to do operations - 
actual experts will know better than I. Anyway disk space is cheap, you 
should always have free space available for any app on your system.

-- 
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