Skip to content

Commit d0714cc

Browse files
mhaggergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d0f1ea6 commit d0714cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ To actually match only values with an exclamation mark, you have to
326326
To add a new proxy, without altering any of the existing ones, use
327327

328328
------------
329-
% git config core.gitproxy '"proxy-command" for example.com'
329+
% git config --add core.gitproxy '"proxy-command" for example.com'
330330
------------
331331

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

0 commit comments

Comments
 (0)