2020-03-30 10:13:26 +01:00
|
|
|
# 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`
|
|
|
|
|
2024-01-25 05:29:16 +00:00
|
|
|
- Explicitly use the GUI merge tool (see the `merge.guitool` configuration variable):
|
2020-03-30 10:13:26 +01:00
|
|
|
|
|
|
|
`git mergetool --gui`
|
|
|
|
|
2024-01-25 05:29:16 +00:00
|
|
|
- Explicitly use the regular merge tool (see the `merge.tool` configuration variable):
|
2020-03-30 10:13:26 +01:00
|
|
|
|
|
|
|
`git mergetool --no-gui`
|