atlanticose.blogg.se

Winmerge git difftool cygwin
Winmerge git difftool cygwin












winmerge git difftool cygwin

Like -get-all, but interprets the name as a regular expression and writes out the key names. Like get, but returns all values for a multi-valued key.

winmerge git difftool cygwin

Returns error code 1 if the key was not found and the last value if multiple key values were found. Get the value for a given key (optionally filtered by a regex matching the value). This replaces all lines matching the key (and optionally the value_regex).Īdds a new line to the option without altering any existing values. On success, the command returns the exit code 0.ĭefault behavior is to replace at most one line. You try to use an invalid regexp (ret=6). You try to unset/set an option for which multiple lines match (ret=5), or You try to unset an option which does not exist (ret=5), The config file cannot be written (ret=4), This command will fail with non-zero status upon error. When writing, the new value is written to the repository local configuration file by default, and options -system, -global, -worktree, -file can be used to tell the command to write to that location (you can say -local but that is the default). When reading, the values are read from the system, global and repository local configuration files by default, and options -system, -global, -local, -worktree and -file can be used to tell the command to read from only that location (see the section called "FILES"). Callers may unset an existing -type specifier with -no-type. If no -type= is given, no canonicalization will be performed.

winmerge git difftool cygwin

The -type= option instructs git config to ensure that incoming and outgoing values are canonicalize-able under the given. If you want to handle the lines that do not match the regex, just prepend a single exclamation mark in front (see also the section called "EXAMPLES"). Only the existing values that match the regexp are updated or unset.

winmerge git difftool cygwin

If you want to update or unset an option which can occur on multiple lines, a POSIX regexp value_regex needs to be given. Multiple lines can be added to an option by using the -add option. The name is actually the section and the key separated by a dot, and the value will be escaped. You can query/set/replace/unset options with this command. Git config -rename-section old_name new_name Git-config - Get and set repository or global options














Winmerge git difftool cygwin