X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-svn.txt;h=0ade2ce54efee3cd2241fc7e3009909eef5cf8bb;hb=2cf08b6a0ab09f1b81b78a5686a632a2a602abf4;hp=254d0441b391f2ce0c66651f9f4f69cd0121a98b;hpb=469bfc962df22a87f0f0c60699d91fa9e647492a;p=git.git diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt index 254d0441b..0ade2ce54 100644 --- a/Documentation/git-svn.txt +++ b/Documentation/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)