fix git config example syntax
git-config expects a space, not '=' between option and value. Also, quote the value since it contains globs, which some shells will not pass through unchanged, or will abort if the glob doesn't expand. Signed-off-by: Joey Hess <joey@kitenet.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
74d817cf8c
commit
762656e03e
@ -513,7 +513,7 @@ have each person clone that repository with 'git clone':
|
|||||||
cd project
|
cd project
|
||||||
git-init
|
git-init
|
||||||
git remote add origin server:/pub/project
|
git remote add origin server:/pub/project
|
||||||
git config --add remote.origin.fetch=+refs/remotes/*:refs/remotes/*
|
git config --add remote.origin.fetch '+refs/remotes/*:refs/remotes/*'
|
||||||
git fetch
|
git fetch
|
||||||
# Initialize git-svn locally (be sure to use the same URL and -T/-b/-t options as were used on server)
|
# 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.foo.org/project
|
git-svn init http://svn.foo.org/project
|
||||||
|
|||||||
Reference in New Issue
Block a user