glab-mr - Man Page
Create, view, and manage merge requests.
Examples (TL;DR)
- Create a merge request:
glab mr create
- Check out a specific merge request locally:
glab mr checkout mr_number
- View the changes made in the merge request:
glab mr diff
- Approve the merge request for the current branch:
glab mr approve
- Merge the merge request associated with the current branch interactively:
glab mr merge
- Edit a merge request interactively:
glab mr update
- Edit the target branch of a merge request:
glab mr update --target-branch branch_name
Synopsis
glab mr Ā [flags]
Description
Create, view, and manage merge requests.
Options
- -R, ā--repo="" Select another repository. Can use either OWNER/REPO or GROUP/NAMESPACE/REPO
- format. Also accepts full URL or Git URL.
Options Inherited from Parent Commands
--help[=false] Show help for this command.
Example
glab mr create --fill --label bugfix glab mr merge 123 glab mr note -m "needs to do X before it can be merged" branch-foo
See Also
glab(1), glab-mr-approve(1), glab-mr-approvers(1), glab-mr-checkout(1), glab-mr-close(1), glab-mr-create(1), glab-mr-delete(1), glab-mr-diff(1), glab-mr-issues(1), glab-mr-list(1), glab-mr-merge(1), glab-mr-note(1), glab-mr-rebase(1), glab-mr-reopen(1), glab-mr-revoke(1), glab-mr-subscribe(1), glab-mr-todo(1), glab-mr-unsubscribe(1), glab-mr-update(1), glab-mr-view(1)
Referenced By
glab(1), glab-mr-approve(1), glab-mr-approvers(1), glab-mr-checkout(1), glab-mr-close(1), glab-mr-create(1), glab-mr-delete(1), glab-mr-diff(1), glab-mr-issues(1), glab-mr-list(1), glab-mr-merge(1), glab-mr-note(1), glab-mr-rebase(1), glab-mr-reopen(1), glab-mr-revoke(1), glab-mr-subscribe(1), glab-mr-todo(1), glab-mr-unsubscribe(1), glab-mr-update(1), glab-mr-view(1).