Junio C Hamano | 4653c6f | 2008-11-26 22:50:20 | [diff] [blame] | 1 | merge.conflictstyle:: |
| 2 | Specify the style in which conflicted hunks are written out to |
| 3 | working tree files upon merge. The default is "merge", which |
Junio C Hamano | ec87f52 | 2008-12-10 08:35:25 | [diff] [blame] | 4 | shows a `<<<<<<<` conflict marker, changes made by one side, |
| 5 | a `=======` marker, changes made by the other side, and then |
| 6 | a `>>>>>>>` marker. An alternate style, "diff3", adds a `|||||||` |
| 7 | marker and the original text before the `=======` marker. |
Junio C Hamano | 6d76d61 | 2008-05-09 05:46:08 | [diff] [blame] | 8 | |
Junio C Hamano | a03ac86 | 2011-04-02 04:32:29 | [diff] [blame] | 9 | merge.defaultToUpstream:: |
| 10 | If merge is called without any commit argument, merge the upstream |
| 11 | branches configured for the current branch by using their last |
| 12 | observed values stored in their remote tracking branches. |
| 13 | The values of the `branch.<current branch>.merge` that name the |
| 14 | branches at the remote named by `branch.<current branch>.remote` |
| 15 | are consulted, and then they are mapped via `remote.<remote>.fetch` |
| 16 | to their corresponding remote tracking branches, and the tips of |
| 17 | these tracking branches are merged. |
| 18 | |
Junio C Hamano | 3d050d6 | 2011-05-17 06:43:34 | [diff] [blame] | 19 | merge.ff:: |
| 20 | By default, git does not create an extra merge commit when merging |
| 21 | a commit that is a descendant of the current commit. Instead, the |
| 22 | tip of the current branch is fast-forwarded. When set to `false`, |
| 23 | this variable tells git to create an extra merge commit in such |
| 24 | a case (equivalent to giving the `--no-ff` option from the command |
| 25 | line). When set to `only`, only such fast-forward merges are |
| 26 | allowed (equivalent to giving the `--ff-only` option from the |
| 27 | command line). |
| 28 | |
Junio C Hamano | 6d76d61 | 2008-05-09 05:46:08 | [diff] [blame] | 29 | merge.log:: |
Junio C Hamano | 3b4609d | 2010-09-30 00:04:34 | [diff] [blame] | 30 | In addition to branch names, populate the log message with at |
| 31 | most the specified number of one-line descriptions from the |
| 32 | actual commits that are being merged. Defaults to false, and |
Junio C Hamano | 7165bf7 | 2011-01-04 22:06:18 | [diff] [blame] | 33 | true is a synonym for 20. |
Junio C Hamano | 6d76d61 | 2008-05-09 05:46:08 | [diff] [blame] | 34 | |
Junio C Hamano | 2fbcd21 | 2008-05-14 22:26:07 | [diff] [blame] | 35 | merge.renameLimit:: |
| 36 | The number of files to consider when performing rename detection |
| 37 | during a merge; if not specified, defaults to the value of |
| 38 | diff.renameLimit. |
| 39 | |
Junio C Hamano | 2db3e75 | 2010-09-03 21:33:06 | [diff] [blame] | 40 | merge.renormalize:: |
| 41 | Tell git that canonical representation of files in the |
| 42 | repository has changed over time (e.g. earlier commits record |
| 43 | text files with CRLF line endings, but recent ones use LF line |
| 44 | endings). In such a repository, git can convert the data |
| 45 | recorded in commits to a canonical form before performing a |
| 46 | merge to reduce unnecessary conflicts. For more information, |
| 47 | see section "Merging branches with differing checkin/checkout |
| 48 | attributes" in linkgit:gitattributes[5]. |
| 49 | |
Junio C Hamano | 4653c6f | 2008-11-26 22:50:20 | [diff] [blame] | 50 | merge.stat:: |
| 51 | Whether to print the diffstat between ORIG_HEAD and the merge result |
| 52 | at the end of the merge. True by default. |
| 53 | |
Junio C Hamano | 6d76d61 | 2008-05-09 05:46:08 | [diff] [blame] | 54 | merge.tool:: |
| 55 | Controls which merge resolution program is used by |
Junio C Hamano | d2c978f | 2011-03-20 19:42:22 | [diff] [blame] | 56 | linkgit:git-mergetool[1]. Valid built-in values are: "araxis", |
| 57 | "bc3", "diffuse", "ecmerge", "emerge", "gvimdiff", "kdiff3", "meld", |
| 58 | "opendiff", "p4merge", "tkdiff", "tortoisemerge", "vimdiff" |
| 59 | and "xxdiff". Any other value is treated is custom merge tool |
Junio C Hamano | cb1c44f | 2008-08-06 06:19:33 | [diff] [blame] | 60 | and there must be a corresponding mergetool.<tool>.cmd option. |
Junio C Hamano | 6d76d61 | 2008-05-09 05:46:08 | [diff] [blame] | 61 | |
| 62 | merge.verbosity:: |
| 63 | Controls the amount of output shown by the recursive merge |
| 64 | strategy. Level 0 outputs nothing except a final error |
| 65 | message if conflicts were detected. Level 1 outputs only |
| 66 | conflicts, 2 outputs conflicts and file changes. Level 5 and |
| 67 | above outputs debugging information. The default is level 2. |
Junio C Hamano | ec87f52 | 2008-12-10 08:35:25 | [diff] [blame] | 68 | Can be overridden by the 'GIT_MERGE_VERBOSITY' environment variable. |
Junio C Hamano | 6d76d61 | 2008-05-09 05:46:08 | [diff] [blame] | 69 | |
| 70 | merge.<driver>.name:: |
Junio C Hamano | ec87f52 | 2008-12-10 08:35:25 | [diff] [blame] | 71 | Defines a human-readable name for a custom low-level |
Junio C Hamano | 6d76d61 | 2008-05-09 05:46:08 | [diff] [blame] | 72 | merge driver. See linkgit:gitattributes[5] for details. |
| 73 | |
| 74 | merge.<driver>.driver:: |
| 75 | Defines the command that implements a custom low-level |
| 76 | merge driver. See linkgit:gitattributes[5] for details. |
| 77 | |
| 78 | merge.<driver>.recursive:: |
| 79 | Names a low-level merge driver to be used when |
| 80 | performing an internal merge between common ancestors. |
| 81 | See linkgit:gitattributes[5] for details. |