summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Payre <nathan.payre@etu.univ-lyon1.fr>2017-10-18 22:27:16 +0200
committerJunio C Hamano <gitster@pobox.com>2017-10-19 13:52:49 +0900
commit32fceba3fddff4eea4f306f947c4d21911c5daed (patch)
treef2e122664526dd2351f237bb08731c9d3a7d0f91
parent4c2224e83951a685185bb8c1f83b28e22fee0e27 (diff)
downloadgit-np/config-path-doc.tar.gz
config doc: clarify "git config --path" examplenp/config-path-doc
Change the word "bla" to "section.variable"; "bla" is a placeholder for a variable name but it wasn't clear for everyone. While we're here, also reformat this sample command line to use monospace instead of italics, to better match the rest of the file. Use a space instead of a dash in "git config", as is common in the rest of Git's documentation. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: MOY Matthieu <matthieu.moy@univ-lyon1.fr> Signed-off-by: Daniel Bensoussan <daniel.bensoussan--bohm@etu.univ-lyon1.fr> Signed-off-by: Timothee Albertin <timothee.albertin@etu.univ-lyon1.fr> Signed-off-by: Nathan Payre <nathan.payre@etu.univ-lyon1.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-config.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 83f86b9231..4edd09fc6b 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -174,11 +174,11 @@ See also <<FILES>>.
either --bool or --int, as described above.
--path::
- 'git-config' will expand leading '{tilde}' to the value of
- '$HOME', and '{tilde}user' to the home directory for the
+ `git config` will expand a leading `~` to the value of
+ `$HOME`, and `~user` to the home directory for the
specified user. This option has no effect when setting the
- value (but you can use 'git config bla {tilde}/' from the
- command line to let your shell do the expansion).
+ value (but you can use `git config section.variable ~/`
+ from the command line to let your shell do the expansion).
-z::
--null::