path: root/Documentation/git-svn.txt
diff options
authorAdam Roben <>2007-08-06 08:16:43 (GMT)
committerJunio C Hamano <>2007-08-06 08:46:31 (GMT)
commit7d4aef4027e6a95fa112fa7b069f945cad294a23 (patch)
tree5148b7eb1fd40556a87dd13e18b1a4664299d172 /Documentation/git-svn.txt
parenta6954452ecf757523b31d6eaaf7e00c7a2d91e46 (diff)
Documentation/git-svn: how to clone a git-svn-created repository
These instructions tell you how to create a clone of a repository created with git-svn, that can in turn be used with git-svn. Signed-off-by: Adam Roben <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-svn.txt')
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index 0a210e4..816340b 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -435,6 +435,26 @@ Tracking and contributing to an entire Subversion-managed project
# of dcommit/rebase/show-ignore should be the same as above.
+The initial 'git-svn clone' can be quite time-consuming
+(especially for large Subversion repositories). If multiple
+people (or one person with multiple machines) want to use
+git-svn to interact with the same Subversion repository, you can
+do the initial 'git-svn clone' to a repository on a server and
+have each person clone that repository with 'git clone':
+# Do the initial import on a server
+ ssh server "cd /pub && git-svn clone
+# Clone locally
+ git clone server:/pub/project
+# Tell git-svn which branch contains the Subversion commits
+ git update-ref refs/remotes/git-svn origin/master
+# Initialize git-svn locally (be sure to use the same URL and -T/-b/-t options as were used on server)
+ git-svn init
+# Pull the latest changes from Subversion
+ git-svn rebase