Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

29
tldr/git-merge Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# git merge
> Merge branches.
> More information: <https://git-scm.com/docs/git-merge>.
- Merge a branch into your current branch:
`git merge {{branch_name}}`
- Edit the merge message:
`git merge --edit {{branch_name}}`
- Merge a branch and create a merge commit:
`git merge --no-ff {{branch_name}}`
- Abort a merge in case of conflicts:
`git merge --abort`
- Merge using a specific strategy:
`git merge --strategy {{strategy}} --strategy-option {{strategy_option}} {{branch_name}}`