glab-mr-create
Create a new GitLab merge request
TLDR
Create MR interactively
$ glab mr create
Create with title$ glab mr create -t "[title]"
Create as draft$ glab mr create --draft -t "[title]"
Create with reviewers$ glab mr create -t "[title]" --reviewer [user1],[user2]
Create to specific branch$ glab mr create --target-branch [main]
Fill from commits$ glab mr create --fill
SYNOPSIS
glab mr create [options]
DESCRIPTION
glab mr create creates a new GitLab merge request from the current branch. It supports drafts, reviewer assignment, labels, and auto-filling title and description from commit messages.
When run without flags, it launches an interactive editor for composing the merge request.
PARAMETERS
-t, --title title
MR title.-d, --description text
MR description.--draft
Create as draft.-a, --assignee users
Assign users.--reviewer users
Request reviewers.--target-branch branch
Target branch.--source-branch branch
Source branch.--fill
Fill from commits.-l, --label labels
Add labels.--web
Open in browser.
