Can Git or Mercurial be set to bypass the local repository and go straight to the central one?

Posted by Jian Lin on Stack Overflow See other posts from Stack Overflow or by Jian Lin
Published on 2010-06-06T10:43:46Z Indexed on 2010/06/06 10:52 UTC
Read the original article Hit count: 324

Filed under:
|
|
|

Using Git or Mercurial, if the working directory is 1GB, then the local repository will be another 1GB (at least), residing normally in the same hard drive. And then when pushed to a central repository, there will be another 1GB.

Can Git or Mercurial be set to use only a working directory and then a central repository, without having 3 copies of this 1GB data?

(actually, when the central repository also update, then there are 4 copies of the same data... can it be reduced? In the SVN scenario, when there are 5 users, then there will be 6GB of data total. With Distributed Version Control, then there will be 12GB of data?)

© Stack Overflow or respective owner

Related posts about git

Related posts about mercurial