]> git.ipfire.org Git - thirdparty/git.git/commitdiff
fix git config example syntax
authorJoey Hess <joey@kitenet.net>
Sat, 28 Jun 2008 20:02:47 +0000 (16:02 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Jun 2008 20:43:22 +0000 (13:43 -0700)
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>
Documentation/git-svn.txt

index 97bed54fbde18a1e7c5516382a54b341fc81668e..c350ad0f83b413fa4c7810195f64cdfbbfdd1717 100644 (file)
@@ -513,7 +513,7 @@ 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 --add remote.origin.fetch '+refs/remotes/*:refs/remotes/*'
        git fetch
 # 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