2015-03-12 04:32:45 +08:00
|
|
|
merge.conflictStyle::
|
2008-11-27 03:11:18 +08:00
|
|
|
Specify the style in which conflicted hunks are written out to
|
|
|
|
working tree files upon merge. The default is "merge", which
|
2008-12-09 14:23:51 +08:00
|
|
|
shows a `<<<<<<<` conflict marker, changes made by one side,
|
|
|
|
a `=======` marker, changes made by the other side, and then
|
|
|
|
a `>>>>>>>` marker. An alternate style, "diff3", adds a `|||||||`
|
|
|
|
marker and the original text before the `=======` marker.
|
2008-04-06 09:23:44 +08:00
|
|
|
|
2011-03-24 14:48:24 +08:00
|
|
|
merge.defaultToUpstream::
|
|
|
|
If merge is called without any commit argument, merge the upstream
|
|
|
|
branches configured for the current branch by using their last
|
2012-10-23 19:34:05 +08:00
|
|
|
observed values stored in their remote-tracking branches.
|
2011-03-24 14:48:24 +08:00
|
|
|
The values of the `branch.<current branch>.merge` that name the
|
|
|
|
branches at the remote named by `branch.<current branch>.remote`
|
|
|
|
are consulted, and then they are mapped via `remote.<remote>.fetch`
|
2012-10-23 19:34:05 +08:00
|
|
|
to their corresponding remote-tracking branches, and the tips of
|
2011-03-24 14:48:24 +08:00
|
|
|
these tracking branches are merged.
|
|
|
|
|
2011-05-07 03:27:05 +08:00
|
|
|
merge.ff::
|
2013-01-22 03:17:53 +08:00
|
|
|
By default, Git does not create an extra merge commit when merging
|
2011-05-07 03:27:05 +08:00
|
|
|
a commit that is a descendant of the current commit. Instead, the
|
|
|
|
tip of the current branch is fast-forwarded. When set to `false`,
|
2013-01-22 03:17:53 +08:00
|
|
|
this variable tells Git to create an extra merge commit in such
|
2011-05-07 03:27:05 +08:00
|
|
|
a case (equivalent to giving the `--no-ff` option from the command
|
|
|
|
line). When set to `only`, only such fast-forward merges are
|
|
|
|
allowed (equivalent to giving the `--ff-only` option from the
|
|
|
|
command line).
|
|
|
|
|
2017-12-10 14:53:57 +08:00
|
|
|
merge.verifySignatures::
|
|
|
|
If true, this is equivalent to the --verify-signatures command
|
|
|
|
line option. See linkgit:git-merge[1] for details.
|
|
|
|
|
2015-05-28 05:52:23 +08:00
|
|
|
include::fmt-merge-msg-config.txt[]
|
2008-04-06 09:23:42 +08:00
|
|
|
|
2008-05-01 01:23:55 +08:00
|
|
|
merge.renameLimit::
|
|
|
|
The number of files to consider when performing rename detection
|
|
|
|
during a merge; if not specified, defaults to the value of
|
2018-05-03 00:01:13 +08:00
|
|
|
diff.renameLimit. This setting has no effect if rename detection
|
|
|
|
is turned off.
|
2008-05-01 01:23:55 +08:00
|
|
|
|
2018-05-03 00:01:14 +08:00
|
|
|
merge.renames::
|
|
|
|
Whether and how Git detects renames. If set to "false",
|
|
|
|
rename detection is disabled. If set to "true", basic rename
|
|
|
|
detection is enabled. Defaults to the value of diff.renames.
|
|
|
|
|
2010-07-03 03:20:47 +08:00
|
|
|
merge.renormalize::
|
2013-01-22 03:17:53 +08:00
|
|
|
Tell Git that canonical representation of files in the
|
2010-07-03 03:20:47 +08:00
|
|
|
repository has changed over time (e.g. earlier commits record
|
|
|
|
text files with CRLF line endings, but recent ones use LF line
|
2013-01-22 03:17:53 +08:00
|
|
|
endings). In such a repository, Git can convert the data
|
2010-07-03 03:20:47 +08:00
|
|
|
recorded in commits to a canonical form before performing a
|
|
|
|
merge to reduce unnecessary conflicts. For more information,
|
|
|
|
see section "Merging branches with differing checkin/checkout
|
|
|
|
attributes" in linkgit:gitattributes[5].
|
|
|
|
|
2008-11-27 03:11:18 +08:00
|
|
|
merge.stat::
|
|
|
|
Whether to print the diffstat between ORIG_HEAD and the merge result
|
|
|
|
at the end of the merge. True by default.
|
|
|
|
|
2008-04-06 09:23:42 +08:00
|
|
|
merge.tool::
|
2013-01-28 08:52:26 +08:00
|
|
|
Controls which merge tool is used by linkgit:git-mergetool[1].
|
|
|
|
The list below shows the valid built-in values.
|
|
|
|
Any other value is treated as a custom merge tool and requires
|
|
|
|
that a corresponding mergetool.<tool>.cmd variable is defined.
|
|
|
|
|
|
|
|
include::mergetools-merge.txt[]
|
2008-04-06 09:23:42 +08:00
|
|
|
|
|
|
|
merge.verbosity::
|
|
|
|
Controls the amount of output shown by the recursive merge
|
|
|
|
strategy. Level 0 outputs nothing except a final error
|
|
|
|
message if conflicts were detected. Level 1 outputs only
|
|
|
|
conflicts, 2 outputs conflicts and file changes. Level 5 and
|
|
|
|
above outputs debugging information. The default is level 2.
|
2016-06-08 06:35:06 +08:00
|
|
|
Can be overridden by the `GIT_MERGE_VERBOSITY` environment variable.
|
2008-04-06 09:23:42 +08:00
|
|
|
|
|
|
|
merge.<driver>.name::
|
2008-12-09 14:23:51 +08:00
|
|
|
Defines a human-readable name for a custom low-level
|
2008-04-06 09:23:42 +08:00
|
|
|
merge driver. See linkgit:gitattributes[5] for details.
|
|
|
|
|
|
|
|
merge.<driver>.driver::
|
|
|
|
Defines the command that implements a custom low-level
|
|
|
|
merge driver. See linkgit:gitattributes[5] for details.
|
|
|
|
|
|
|
|
merge.<driver>.recursive::
|
|
|
|
Names a low-level merge driver to be used when
|
|
|
|
performing an internal merge between common ancestors.
|
|
|
|
See linkgit:gitattributes[5] for details.
|