diff options
author | Junio C Hamano <junio@kernel.org> | 2010-01-10 19:55:14 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2010-01-10 19:55:14 +0000 |
commit | b141a92205556b5770b078237a7aa84cd5bba7e2 (patch) | |
tree | d4f38a8f1021da7b0035fbaf37a7c67aa9a8f5f9 /git-config.txt | |
parent | ae05feeb712a3d1be55164218489ebebef0f72b2 (diff) | |
download | git-htmldocs-b141a92205556b5770b078237a7aa84cd5bba7e2.tar.gz |
Autogenerated HTML docs for v1.6.6-136-g637af
Diffstat (limited to 'git-config.txt')
-rw-r--r-- | git-config.txt | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/git-config.txt b/git-config.txt index f68b19820..263292809 100644 --- a/git-config.txt +++ b/git-config.txt @@ -37,11 +37,12 @@ existing values that match the regexp are updated or unset. If you want to handle the lines that do *not* match the regex, just prepend a single exclamation mark in front (see also <<EXAMPLES>>). -The type specifier can be either '--int' or '--bool', which will make +The type specifier can be either '--int' or '--bool', to make 'git-config' ensure that the variable(s) are of the given type and convert the value to the canonical form (simple decimal number for int, -a "true" or "false" string for bool). If no type specifier is passed, -no checks or transformations are performed on the value. +a "true" or "false" string for bool), or '--path', which does some +path expansion (see '--path' below). If no type specifier is passed, no +checks or transformations are performed on the value. The file-option can be one of '--system', '--global' or '--file' which specify where the values will be read from or written to. @@ -136,6 +137,13 @@ See also <<FILES>>. 'git-config' will ensure that the output matches the format of 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 + 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). + -z:: --null:: For all options that output values and/or keys, always |