diff.tool-
Controls which diff tool is used by linkgit:git-difftool[1]. This variable overrides the value configured in
merge.tool. The list below shows the valid built-in values. Any other value is treated as a custom diff tool and requires that a correspondingdifftool.<tool>.cmdvariable is defined. diff.guitool-
Controls which diff tool is used by linkgit:git-difftool[1] when the
-g/--guiflag is specified. This variable overrides the value configured inmerge.guitool. The list below shows the valid built-in values. Any other value is treated as a custom diff tool and requires that a correspondingdifftool.<guitool>.cmdvariable is defined.
difftool.<tool>.cmd-
Specify the command to invoke the specified diff tool. The specified command is evaluated in shell with the following variables available:
LOCALis set to the name of the temporary file containing the contents of the diff pre-image andREMOTEis set to the name of the temporary file containing the contents of the diff post-image.See the
--tool=<tool>option in linkgit:git-difftool[1] for more details. difftool.<tool>.path-
Override the path for the given tool. This is useful in case your tool is not in the PATH.
difftool.trustExitCode-
Exit difftool if the invoked diff tool returns a non-zero exit status.
See the
--trust-exit-codeoption in linkgit:git-difftool[1] for more details. difftool.prompt-
Prompt before each invocation of the diff tool.
difftool.guiDefault-
Set
trueto use thediff.guitoolby default (equivalent to specifying the--guiargument), orautoto selectdiff.guitoolordiff.tooldepending on the presence of aDISPLAYenvironment variable value. The default isfalse, where the--guiargument must be provided explicitly for thediff.guitoolto be used.