From d0714cc87b9ac0a5c9b900ed90e63bfec02577c8 Mon Sep 17 00:00:00 2001 From: Michael Haggerty Date: Sat, 18 Aug 2012 19:32:10 +0200 Subject: git-config.txt: fix example The "--add" option is required to add a new value to a multivalued configuration entry. Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano --- Documentation/git-config.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index 7617d9eb24..53827537b3 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git-config.txt @@ -326,7 +326,7 @@ To actually match only values with an exclamation mark, you have to To add a new proxy, without altering any of the existing ones, use ------------ -% git config core.gitproxy '"proxy-command" for example.com' +% git config --add core.gitproxy '"proxy-command" for example.com' ------------ An example to use customized color from the configuration in your -- cgit v1.2.3 From d1e1fe7569835901090b936f984117b15df43bec Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 18 Aug 2012 16:35:09 -0700 Subject: git-config doc: unconfuse an example One fictitious command "proxy-command" is enclosed inside a double quote pair, while another fictitious command "default-proxy" is not in the example, but the quoting does not change anything in the pair of examples. Remove the quotes to avoid unnecessary confusion. Noticed by Michael Haggerty. Signed-off-by: Junio C Hamano --- Documentation/git-config.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index 53827537b3..b24faa8a13 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git-config.txt @@ -251,7 +251,7 @@ Given a .git/config like this: ; Proxy settings [core] - gitproxy="proxy-command" for kernel.org + gitproxy=proxy-command for kernel.org gitproxy=default-proxy ; for all the rest you can set the filemode to true with -- cgit v1.2.3