summaryrefslogtreecommitdiff
path: root/Documentation/git-svn.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-11-15 06:12:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-11-15 06:12:38 (GMT)
commitea4f2bd39dcfabb23e86b2f79149c6c4038ff3cd (patch)
treeb070131f1b35de05ddef6d4519373d1aacc96c1a /Documentation/git-svn.txt
parenta2df1fb2e52a49bf6b17b352581510efd851f337 (diff)
parent9e77353e0ea6e9e6d88ad1943570afb526d54a16 (diff)
downloadgit-ea4f2bd39dcfabb23e86b2f79149c6c4038ff3cd.zip
git-ea4f2bd39dcfabb23e86b2f79149c6c4038ff3cd.tar.gz
git-ea4f2bd39dcfabb23e86b2f79149c6c4038ff3cd.tar.bz2
Merge branch 'maint'
* maint: Documentation: git-svn: fix example for centralized SVN clone Documentation: fix links to "everyday.html" revision.c: use proper data type in call to sizeof() within xrealloc
Diffstat (limited to 'Documentation/git-svn.txt')
-rw-r--r--Documentation/git-svn.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index 84c8f3c..ba94cd1 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/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