Skip to content

Commit 32fceba

Browse files
Nathan Payregitster
authored andcommitted
config doc: clarify "git config --path" example
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 <[email protected]> Signed-off-by: MOY Matthieu <[email protected]> Signed-off-by: Daniel Bensoussan <[email protected]> Signed-off-by: Timothee Albertin <[email protected]> Signed-off-by: Nathan Payre <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4c2224e commit 32fceba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/git-config.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ See also <<FILES>>.
174174
either --bool or --int, as described above.
175175

176176
--path::
177-
'git-config' will expand leading '{tilde}' to the value of
178-
'$HOME', and '{tilde}user' to the home directory for the
177+
`git config` will expand a leading `~` to the value of
178+
`$HOME`, and `~user` to the home directory for the
179179
specified user. This option has no effect when setting the
180-
value (but you can use 'git config bla {tilde}/' from the
181-
command line to let your shell do the expansion).
180+
value (but you can use `git config section.variable ~/`
181+
from the command line to let your shell do the expansion).
182182

183183
-z::
184184
--null::

0 commit comments

Comments
 (0)