X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-svn.txt;h=0ade2ce54efee3cd2241fc7e3009909eef5cf8bb;hb=97d0b74a49f0c81c3f9673c1a17721ac0624c3df;hp=139d314ba54c4e7897ffcf257a1fd847eb7939fa;hpb=d3334d9c444a22847e7add0f60c2e4a7243c151e;p=git.git diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt index 139d314ba..0ade2ce54 100644 --- a/Documentation/git-svn.txt +++ b/Documentation/git-svn.txt @@ -613,7 +613,7 @@ old references to SVN revision numbers in existing documentation, bug reports and archives. If you plan to eventually migrate from SVN to git and are certain about dropping SVN history, consider linkgit:git-filter-branch[1] instead. filter-branch also allows -reformating of metadata for ease-of-reading and rewriting authorship +reformatting of metadata for ease-of-reading and rewriting authorship info for non-"svn.authorsFile" users. svn.useSvmProps:: @@ -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)