summaryrefslogtreecommitdiffstats
path: root/git-svn.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-08-07 06:06:11 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-08-07 06:06:11 +0000
commite9bfa9b2c97714ddb520595db729bcad416ce1d3 (patch)
tree2a930ee7d3670603fe42acbecf88f1ad3ae88be3 /git-svn.html
parentbd2b4bbb74c94d27ad61268c94f4cbde040b2fec (diff)
downloadgit-htmldocs-e9bfa9b2c97714ddb520595db729bcad416ce1d3.tar.gz
Autogenerated HTML docs for v1.5.3-rc4-24-g5b56a
Diffstat (limited to 'git-svn.html')
-rw-r--r--git-svn.html21
1 files changed, 20 insertions, 1 deletions
diff --git a/git-svn.html b/git-svn.html
index 6f33ba71c..0735891f4 100644
--- a/git-svn.html
+++ b/git-svn.html
@@ -931,6 +931,25 @@ section because they affect the <em>git-svn-id:</em> metadata line.</p>
# You may only dcommit to one branch/tag/trunk at a time. The usage
# of dcommit/rebase/show-ignore should be the same as above.</tt></pre>
</div></div>
+<p>The initial <em>git-svn clone</em> 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 <em>git-svn clone</em> to a repository on a server and
+have each person clone that repository with <em>git clone</em>:</p>
+<div class="listingblock">
+<div class="content">
+<pre><tt># Do the initial import on a server
+ ssh server "cd /pub &amp;&amp; git-svn clone http://svn.foo.org/project
+# 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 http://svn.foo.org/project
+# Pull the latest changes from Subversion
+ git-svn rebase</tt></pre>
+</div></div>
</div>
<h2>REBASE VS. PULL/MERGE</h2>
<div class="sectionbody">
@@ -1004,7 +1023,7 @@ should be manually entered with a text-editor or using
</div>
<div id="footer">
<div id="footer-text">
-Last updated 19-Jul-2007 02:09:56 UTC
+Last updated 07-Aug-2007 06:05:54 UTC
</div>
</div>
</body>