X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-repo-config.html;h=79aeedb653808c0da97cb58024ac54a4d32c52fa;hb=26a5737702ae9a7bec141d68b1c756235c55cb89;hp=66606be35c908fe5b6fd7f58f9f1e71b7fd680db;hpb=88a3a070894a23a10133fee89065cb27199cf58b;p=git.git diff --git a/git-repo-config.html b/git-repo-config.html index 66606be3..79aeedb6 100644 --- a/git-repo-config.html +++ b/git-repo-config.html @@ -286,25 +286,26 @@ git-repo-config(1) Manual Page

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 escaped.

-

If you want to set/unset an option which can occur on multiple lines, you -should provide a POSIX regex for the value. If you want to handle the lines -not matching the regex, just prepend a single exclamation mark in front -(see EXAMPLES).

+

If you want to set/unset an option which can occur on multiple +lines, a POSIX regexp value_regex needs to be given. Only the +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 EXAMPLES).

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 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.

-

This command will fail if

+

This command will fail if:

  1. -.git/config is invalid, +The .git/config file is invalid,

  2. -.git/config can not be written to, +Can not write to .git/config,

  3. @@ -829,7 +830,7 @@ imap