Merge Branches
There are several different ways to merge a review branch into the target branch. You can merge commits, squash and merge, rebase and merge, or merge the branches manually. You don’t need to get approvals from all reviewers before merging the review branch. If the target branch is locked, you won’t be able to merge the review branch without first contacting the project owner to unlock the target branch.
Note:
In a merge request, when you merge a review branch with the target branch, you
merge all of the commits in the review branch. If you want to merge a particular
commit or just some commits in the review branch, you should use the git
cherry-pick
command on the Git command line to apply the commit
changes to the target branch. For more information, see https://git-scm.com/docs/git-cherry-pick.
To merge branches, you must be assigned either the reviewer or requester role for the merge request: