1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 20:02:09 +02:00
tldr/pages/common/git-mergetool.md
Vitor Henrique af35564618
pages*: do not use config abbreviation (#12118)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-25 10:59:16 +05:30

28 lines
669 B
Markdown

# 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` configuration variable):
`git mergetool --gui`
- Explicitly use the regular merge tool (see the `merge.tool` configuration variable):
`git mergetool --no-gui`