git mergetool
Run merge conflict resolution tools to resolve merge conflicts. More information: https://git-scm.com/docs/git-mergetool.
-
Launch the default merge tool to resolve conflicts:
git mergetool
-
List valid merge tools:
git mergetool --tool-help
-
Launch the merge tool identified by a name:
git mergetool --tool {{tool_name}}
-
Don't prompt before each invocation of the merge tool:
git mergetool --no-prompt
-
Explicitly use the GUI merge tool (see the
merge.guitool
config variable):
git mergetool --gui
-
Explicitly use the regular merge tool (see the
merge.tool
config variable):
git mergetool --no-gui
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.