gitgit-svn

How can I duplicate a git-svn cloned repository, so that git svn dcommit still works


I have a rather large svn centralized repository we use with my team. Now I want to use git(-svn) locally, so I made a git-svn clone. This worked fine, but the git-svn clone took a very long time to complete. In contrast, a git clone usually doesn't take that long.

How can a colleague duplicate my svn clone so that he doesn't need to checkout and transform the entire svn history again? I.e. without interaction with svn.

Of course we want the colleague to be able to perform fetch and dcommit to the central svn repository, using his own credentials.

Thnx.


Solution

  • Based on the comments added to the question and other answers:

    It is possible to just (physically) copy the git repository (or tar/zip copy, or as the docs say rsync).

    I tested this solution and, indeed, on the other machine the connection with svn is performed using the svn credentials of that machine, while the entire history is just copied in a few seconds.