Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

33
git-mergetool Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`