snippetbashTip
git mergetool — Run merge conflict resolution tools to resolve merge conflicts. More information: <https://git-scm.c
Viewed 0 times
commandgit mergetoolrunresolutionconflictclimergetools
Problem
How to use the
git mergetool command: Run merge conflict resolution tools to resolve merge conflicts. More information: <https://git-scm.com/docs/git-mergetool>.Solution
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 mergetoolList valid merge tools:
git mergetool --tool-helpLaunch the merge tool identified by a name:
git mergetool {{[-t|--tool]}} {{tool_name}}Don't prompt before each invocation of the merge tool:
git mergetool {{[-y|--no-prompt]}}Explicitly use the GUI merge tool (see the
merge.guitool configuration variable):git mergetool {{[-g|--gui]}}Explicitly use the regular merge tool (see the
merge.tool configuration variable):git mergetool --no-guiCode Snippets
Launch the default merge tool to resolve conflicts
git mergetoolList valid merge tools
git mergetool --tool-helpLaunch the merge tool identified by a name
git mergetool {{[-t|--tool]}} {{tool_name}}Don't prompt before each invocation of the merge tool
git mergetool {{[-y|--no-prompt]}}Explicitly use the GUI merge tool (see the `merge.guitool` configuration variable)
git mergetool {{[-g|--gui]}}Context
tldr-pages: common/git mergetool
Revisions (0)
No revisions yet.