mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-09 11:26:01 +02:00

Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
521 B
521 B
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 {{[-e|--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 {{[-s|--strategy]}} {{strategy}} {{[-X|--strategy-option]}} {{strategy_option}} {{branch_name}}