CmdID

CmdID / Commands

glab-mr

Manage GitLab merge requests. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Manage GitLab merge requests. Some subcommands such as create have their own usage documentation.

Create a merge request

glab mr createIdentify

Check out a specific merge request locally

glab [co|mr checkout] mr_numberIdentify

Check out a merge request of a specific repo

glab [co|mr checkout] mr_number --repo repo_owner/repositoryIdentify

View the changes made in the merge request

glab mr diffIdentify

Approve the merge request for the current branch

glab mr approveIdentify

Merge the merge request associated with the current branch interactively

glab mr mergeIdentify

Edit a merge request interactively

glab mr updateIdentify

Edit the target branch of a merge request

glab mr update --target-branch branch_nameIdentify