glab mr merge
Merge GitLab merge requests.
- Merge the merge request associated with the current branch interactively:
glab mr merge
- Merge the specified merge request, interactively:
glab mr merge {mr_number}
- Merge the merge request, removing the branch on both the local and the remote:
glab mr merge --remove-source-branch
- Squash the current merge request into one commit with the message body and merge:
glab mr merge --squash --message="{commit_message_body}"
glab mr merge --help
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).