blob: d78d6d854e5fa0a2d4f030d821984f3e6827b9c1 [file] [log] [blame]
Junio C Hamano4653c6f2008-11-26 22:50:201merge.conflictstyle::
2Specify the style in which conflicted hunks are written out to
3working tree files upon merge. The default is "merge", which
Junio C Hamanoec87f522008-12-10 08:35:254shows a `<<<<<<<` conflict marker, changes made by one side,
5a `=======` marker, changes made by the other side, and then
6a `>>>>>>>` marker. An alternate style, "diff3", adds a `|||||||`
7marker and the original text before the `=======` marker.
Junio C Hamano6d76d612008-05-09 05:46:088
Junio C Hamanoa03ac862011-04-02 04:32:299merge.defaultToUpstream::
10If merge is called without any commit argument, merge the upstream
11branches configured for the current branch by using their last
Junio C Hamanoa1295452012-11-13 22:32:0412observed values stored in their remote-tracking branches.
Junio C Hamanoa03ac862011-04-02 04:32:2913The values of the `branch.<current branch>.merge` that name the
14branches at the remote named by `branch.<current branch>.remote`
15are consulted, and then they are mapped via `remote.<remote>.fetch`
Junio C Hamanoa1295452012-11-13 22:32:0416to their corresponding remote-tracking branches, and the tips of
Junio C Hamanoa03ac862011-04-02 04:32:2917these tracking branches are merged.
18
Junio C Hamano3d050d62011-05-17 06:43:3419merge.ff::
Junio C Hamano076ffcc2013-02-06 05:13:2120By default, Git does not create an extra merge commit when merging
Junio C Hamano3d050d62011-05-17 06:43:3421a commit that is a descendant of the current commit. Instead, the
22tip of the current branch is fast-forwarded. When set to `false`,
Junio C Hamano076ffcc2013-02-06 05:13:2123this variable tells Git to create an extra merge commit in such
Junio C Hamano3d050d62011-05-17 06:43:3424a case (equivalent to giving the `--no-ff` option from the command
25line). When set to `only`, only such fast-forward merges are
26allowed (equivalent to giving the `--ff-only` option from the
27command line).
28
Junio C Hamano6d76d612008-05-09 05:46:0829merge.log::
Junio C Hamano3b4609d2010-09-30 00:04:3430In addition to branch names, populate the log message with at
31most the specified number of one-line descriptions from the
32actual commits that are being merged. Defaults to false, and
Junio C Hamano7165bf72011-01-04 22:06:1833true is a synonym for 20.
Junio C Hamano6d76d612008-05-09 05:46:0834
Junio C Hamano2fbcd212008-05-14 22:26:0735merge.renameLimit::
36The number of files to consider when performing rename detection
37during a merge; if not specified, defaults to the value of
38diff.renameLimit.
39
Junio C Hamano2db3e752010-09-03 21:33:0640merge.renormalize::
Junio C Hamano076ffcc2013-02-06 05:13:2141Tell Git that canonical representation of files in the
Junio C Hamano2db3e752010-09-03 21:33:0642repository has changed over time (e.g. earlier commits record
43text files with CRLF line endings, but recent ones use LF line
Junio C Hamano076ffcc2013-02-06 05:13:2144endings). In such a repository, Git can convert the data
Junio C Hamano2db3e752010-09-03 21:33:0645recorded in commits to a canonical form before performing a
46merge to reduce unnecessary conflicts. For more information,
47see section "Merging branches with differing checkin/checkout
48attributes" in linkgit:gitattributes[5].
49
Junio C Hamano4653c6f2008-11-26 22:50:2050merge.stat::
51Whether to print the diffstat between ORIG_HEAD and the merge result
52at the end of the merge. True by default.
53
Junio C Hamano6d76d612008-05-09 05:46:0854merge.tool::
Junio C Hamanob5e079f2013-02-08 00:02:5255Controls which merge tool is used by linkgit:git-mergetool[1].
56The list below shows the valid built-in values.
57Any other value is treated as a custom merge tool and requires
58that a corresponding mergetool.<tool>.cmd variable is defined.
59
60include::mergetools-merge.txt[]
Junio C Hamano6d76d612008-05-09 05:46:0861
62merge.verbosity::
63Controls the amount of output shown by the recursive merge
64strategy. Level 0 outputs nothing except a final error
65message if conflicts were detected. Level 1 outputs only
66conflicts, 2 outputs conflicts and file changes. Level 5 and
67above outputs debugging information. The default is level 2.
Junio C Hamanoec87f522008-12-10 08:35:2568Can be overridden by the 'GIT_MERGE_VERBOSITY' environment variable.
Junio C Hamano6d76d612008-05-09 05:46:0869
70merge.<driver>.name::
Junio C Hamanoec87f522008-12-10 08:35:2571Defines a human-readable name for a custom low-level
Junio C Hamano6d76d612008-05-09 05:46:0872merge driver. See linkgit:gitattributes[5] for details.
73
74merge.<driver>.driver::
75Defines the command that implements a custom low-level
76merge driver. See linkgit:gitattributes[5] for details.
77
78merge.<driver>.recursive::
79Names a low-level merge driver to be used when
80performing an internal merge between common ancestors.
81See linkgit:gitattributes[5] for details.