Skip to content

Commit 9a245ac

Browse files
committed
Merge branch 'mh/maint-config-doc-proxy-command'
* mh/maint-config-doc-proxy-command: git-config doc: unconfuse an example git-config.txt: fix example
2 parents 7bcb747 + d1e1fe7 commit 9a245ac

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
@@ -267,7 +267,7 @@ Given a .git/config like this:
267267

268268
; Proxy settings
269269
[core]
270-
gitproxy="proxy-command" for kernel.org
270+
gitproxy=proxy-command for kernel.org
271271
gitproxy=default-proxy ; for all the rest
272272

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

344344
------------
345-
% git config core.gitproxy '"proxy-command" for example.com'
345+
% git config --add core.gitproxy '"proxy-command" for example.com'
346346
------------
347347

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

0 commit comments

Comments
 (0)