diff options
author | Junio C Hamano <junio@kernel.org> | 2011-01-08 00:21:03 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2011-01-08 00:21:03 +0000 |
commit | b218ad8dec60522c9d0b8523796fde6aa5db9584 (patch) | |
tree | 5796efe5920c23e3758058322b12fd526cd7c6eb /git-svn.txt | |
parent | e0552e436a51e37f2de4749736dddb80a5788e08 (diff) | |
download | git-htmldocs-b218ad8dec60522c9d0b8523796fde6aa5db9584.tar.gz |
Autogenerated HTML docs for v1.7.4-rc1-5-ge17aa
Diffstat (limited to 'git-svn.txt')
-rw-r--r-- | git-svn.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git-svn.txt b/git-svn.txt index 254d0441b..0ade2ce54 100644 --- a/git-svn.txt +++ b/git-svn.txt @@ -729,8 +729,11 @@ have each person clone that repository with 'git clone': cd project git init git remote add origin server:/pub/project - git config --add remote.origin.fetch '+refs/remotes/*:refs/remotes/*' + git config --replace-all remote.origin.fetch '+refs/remotes/*:refs/remotes/*' git fetch +# Prevent fetch/pull from remote git server in the future, +# we only want to use git svn for future updates + git config --remove-section remote.origin # 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) |