blob: 861bd6f55352a12db6d1d680508e1d02a8e90d12 [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
12observed values stored in their remote tracking branches.
13The 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`
16to their corresponding remote tracking branches, and the tips of
17these tracking branches are merged.
18
Junio C Hamano3d050d62011-05-17 06:43:3419merge.ff::
20By default, git does not create an extra merge commit when merging
21a commit that is a descendant of the current commit. Instead, the
22tip of the current branch is fast-forwarded. When set to `false`,
23this variable tells git to create an extra merge commit in such
24a 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::
41Tell git that canonical representation of files in the
42repository has changed over time (e.g. earlier commits record
43text files with CRLF line endings, but recent ones use LF line
44endings). In such a repository, git can convert the data
45recorded 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::
55Controls which merge resolution program is used by
Junio C Hamanod2c978f2011-03-20 19:42:2256linkgit:git-mergetool[1]. Valid built-in values are: "araxis",
57"bc3", "diffuse", "ecmerge", "emerge", "gvimdiff", "kdiff3", "meld",
58"opendiff", "p4merge", "tkdiff", "tortoisemerge", "vimdiff"
59and "xxdiff". Any other value is treated is custom merge tool
Junio C Hamanocb1c44f2008-08-06 06:19:3360and there must be a corresponding mergetool.<tool>.cmd option.
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.