|
|
@ -22,10 +22,11 @@ You can query/set/replace/unset options with this command. The name is |
|
|
|
actually the section and the key separated by a dot, and the value will be |
|
|
|
actually the section and the key separated by a dot, and the value will be |
|
|
|
escaped. |
|
|
|
escaped. |
|
|
|
|
|
|
|
|
|
|
|
If you want to set/unset an option which can occur on multiple lines, you |
|
|
|
If you want to set/unset an option which can occur on multiple |
|
|
|
should provide a POSIX regex for the value. If you want to handle the lines |
|
|
|
lines, a POSIX regexp `value_regex` needs to be given. Only the |
|
|
|
*not* matching the regex, just prepend a single exclamation mark in front |
|
|
|
existing values that match the regexp are updated or unset. If |
|
|
|
(see EXAMPLES). |
|
|
|
you want to handle the lines that do *not* match the regex, just |
|
|
|
|
|
|
|
prepend a single exclamation mark in front (see EXAMPLES). |
|
|
|
|
|
|
|
|
|
|
|
The type specifier can be either '--int' or '--bool', which will make |
|
|
|
The type specifier can be either '--int' or '--bool', which will make |
|
|
|
'git-repo-config' ensure that the variable(s) are of the given type and |
|
|
|
'git-repo-config' ensure that the variable(s) are of the given type and |
|
|
|