glab-mr-merge

Merge GitLab merge requests.

TLDR

Merge the merge request associated with the current branch interactively

$ glab mr merge
copy

Merge the specified merge request, interactively

$ glab mr merge [mr_number]
copy

Merge the merge request, removing the branch on both the local and the remote

$ glab mr merge --remove-source-branch
copy

Squash the current merge request into one commit with the message body and merge

$ glab mr merge --squash --message="[commit_message_body]"
copy

Display help

$ glab mr merge --help
copy

Copied to clipboard
chromebooks