]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/git-mergetool.txt
War on whitespace
[thirdparty/git.git] / Documentation / git-mergetool.txt
1 git-mergetool(1)
2 ================
3
4 NAME
5 ----
6 git-mergetool - Run merge conflict resolution tools to resolve merge conflicts
7
8 SYNOPSIS
9 --------
10 'git-mergetool' [--tool=<tool>] [<file>]...
11
12 DESCRIPTION
13 -----------
14
15 Use 'git mergetool' to run one of several merge utilities to resolve
16 merge conflicts. It is typically run after gitlink:git-merge[1].
17
18 If one or more <file> parameters are given, the merge tool program will
19 be run to resolve differences on each file. If no <file> names are
20 specified, 'git mergetool' will run the merge tool program on every file
21 with merge conflicts.
22
23 OPTIONS
24 -------
25 -t or --tool=<tool>::
26 Use the merge resolution program specified by <tool>.
27 Valid merge tools are:
28 kdiff3, tkdiff, meld, xxdiff, emerge, vimdiff, and opendiff
29 +
30 If a merge resolution program is not specified, 'git mergetool'
31 will use the configuration variable merge.tool. If the
32 configuration variable merge.tool is not set, 'git mergetool'
33 will pick a suitable default.
34
35 Author
36 ------
37 Written by Theodore Y Ts'o <tytso@mit.edu>
38
39 Documentation
40 --------------
41 Documentation by Theodore Y Ts'o.
42
43 GIT
44 ---
45 Part of the gitlink:git[7] suite