summaryrefslogtreecommitdiffstats
path: root/git-svn.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-11-15 08:07:55 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-11-15 08:07:55 +0000
commitd3452a0b887b74a3c7ce37ba11453e80ccb3aad6 (patch)
tree5107c80123b2f4e8ae4f1554a24ae35decd8456b /git-svn.txt
parent283634923aa8f124696f3e9a77a012b96493c2d7 (diff)
downloadgit-htmldocs-d3452a0b887b74a3c7ce37ba11453e80ccb3aad6.tar.gz
Autogenerated HTML docs for v1.6.0.4-735-gea4f
Diffstat (limited to 'git-svn.txt')
-rw-r--r--git-svn.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-svn.txt b/git-svn.txt
index 84c8f3cde..ba94cd17d 100644
--- a/git-svn.txt
+++ b/git-svn.txt
@@ -544,6 +544,8 @@ have each person clone that repository with 'git-clone':
git remote add origin server:/pub/project
git config --add remote.origin.fetch '+refs/remotes/*:refs/remotes/*'
git fetch
+# Create a local branch from one of the branches just fetched
+ git checkout -b master FETCH_HEAD
# 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.example.com/project
# Pull the latest changes from Subversion