commands.sh

glab mr

all

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

More info →

Options (1)

boolean

Check out a specific merge request locally

Example: glab {{[co|mr checkout]}} {{mr_number}}

Examples (7)

Create a merge request

Check out a specific merge request locally

glab [co|mr checkout] mr_number

View the changes made in the merge request

Approve the merge request for the current branch

glab mr approve

Merge the merge request associated with the current branch interactively

Edit a merge request interactively

glab mr update

Edit the target branch of a merge request

glab mr update --target-branch branch_name
made by @shridhargupta | data from tldr-pages