Skip to content

Commit f6854ca

Browse files
committed
Merge branch 'mh/maint-config-doc-proxy-command' into maint-1.7.11
* mh/maint-config-doc-proxy-command: git-config doc: unconfuse an example git-config.txt: fix example
2 parents fe31b2a + d1e1fe7 commit f6854ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-config.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ Given a .git/config like this:
258258

259259
; Proxy settings
260260
[core]
261-
gitproxy="proxy-command" for kernel.org
261+
gitproxy=proxy-command for kernel.org
262262
gitproxy=default-proxy ; for all the rest
263263

264264
you can set the filemode to true with
@@ -333,7 +333,7 @@ To actually match only values with an exclamation mark, you have to
333333
To add a new proxy, without altering any of the existing ones, use
334334

335335
------------
336-
% git config core.gitproxy '"proxy-command" for example.com'
336+
% git config --add core.gitproxy '"proxy-command" for example.com'
337337
------------
338338

339339
An example to use customized color from the configuration in your

0 commit comments

Comments
 (0)