git-merge
Merge branches. tldr-pages
On several platforms
Several platforms
Merge branches into the current branch
git merge branch_name1 branch_name2 ...IdentifyEdit the merge message
git merge --edit branch_nameIdentifyMerge a branch and create a merge commit
git merge --no-ff branch_nameIdentifyStage the result of merging a branch without creating a commit
git merge --squash branch_nameIdentifyAbort a merge in case of conflicts
git merge --abortIdentifyMerge using a specific strategy
git merge --strategy strategy --strategy-option strategy_option branch_nameIdentify