diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-01-27 08:23:46 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-01-27 08:23:46 +0000 |
commit | f7bb669c0b2263dd46cbcf60527b88293ae0bfd1 (patch) | |
tree | c2a3399d23ce54078ed6fef864481b266d9384fc /git-svn.html | |
parent | ebc53dcb88aa848843f12d4f9c14910e3b763613 (diff) | |
download | git-htmldocs-f7bb669c0b2263dd46cbcf60527b88293ae0bfd1.tar.gz |
Autogenerated HTML docs for v1.5.4-rc5
Diffstat (limited to 'git-svn.html')
-rw-r--r-- | git-svn.html | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/git-svn.html b/git-svn.html index cf054d7d2..486ec0a8a 100644 --- a/git-svn.html +++ b/git-svn.html @@ -961,10 +961,13 @@ have each person clone that repository with <em>git clone</em>:</p> <div class="content">
<pre><tt># Do the initial import on a server
ssh server "cd /pub && 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
+# Clone locally - make sure the refs/remotes/ space matches the server
+ mkdir project
+ cd project
+ git-init
+ git remote add origin server:/pub/project
+ git config --add remote.origin.fetch=+refs/remotes/*:refs/remotes/*
+ git fetch
# 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
@@ -1071,7 +1074,7 @@ should be manually entered with a text-editor or using </div>
<div id="footer">
<div id="footer-text">
-Last updated 07-Jan-2008 07:50:52 UTC
+Last updated 27-Jan-2008 08:23:29 UTC
</div>
</div>
</body>
|