Skip to content

Commit 2b0e6c0

Browse files
committed
Merge branch 'np/config-path-doc' into pu
* np/config-path-doc: config doc: clarify "git config --path" example
2 parents 065fb7f + 32fceba commit 2b0e6c0

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)