.nh .TH "glab" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP glab-mr-create - Create new merge request .SH SYNOPSIS .PP \fBglab mr create [flags]\fP .SH DESCRIPTION .PP Create new merge request .SH OPTIONS .PP \fB--allow-collaboration\fP[=false] Allow commits from other members .PP \fB-a\fP, \fB--assignee\fP=[] Assign merge request to people by their \fB\fCusernames\fR .PP \fB--copy-issue-labels\fP[=false] Copy labels from issue to the merge request. Used with --related-issue .PP \fB--create-source-branch\fP[=false] Create source branch if it does not exist .PP \fB-d\fP, \fB--description\fP="" Supply a description for merge request .PP \fB--draft\fP[=false] Mark merge request as a draft .PP \fB-f\fP, \fB--fill\fP[=false] Do not prompt for title/description and just use commit info .PP \fB--fill-commit-body\fP[=false] Fill description with each commit body when multiple commits. Can only be used with --fill .PP \fB-H\fP, \fB--head\fP="" Select another head repository using the \fB\fCOWNER/REPO\fR or \fB\fCGROUP/NAMESPACE/REPO\fR format or the project ID or full URL .PP \fB-l\fP, \fB--label\fP=[] Add label by name. Multiple labels should be comma separated .PP \fB-m\fP, \fB--milestone\fP="" The global ID or title of a milestone to assign .PP \fB--no-editor\fP[=false] Don't open editor to enter description. If set to true, uses prompt. (default false) .PP \fB--push\fP[=false] Push committed changes after creating merge request. Make sure you have committed changes .PP \fB--recover\fP[=false] Save the options to a file if the merge request fails to be created. If the file exists, the options will be loaded from the recovery file (EXPERIMENTAL) .PP \fB-i\fP, \fB--related-issue\fP="" Create merge request for an issue. The merge request title will be created from the issue if --title is not provided. .PP \fB--remove-source-branch\fP[=false] Remove Source Branch on merge .PP \fB--reviewer\fP=[] Request review from users by their \fB\fCusernames\fR .PP \fB-s\fP, \fB--source-branch\fP="" The Branch you are creating the merge request. Default is the current branch. .PP \fB--squash-before-merge\fP[=false] Squash commits into a single commit when merging .PP \fB-b\fP, \fB--target-branch\fP="" The target or base branch into which you want your code merged .PP \fB-t\fP, \fB--title\fP="" Supply a title for merge request .PP \fB-w\fP, \fB--web\fP[=false] continue merge request creation on web browser .PP \fB--wip\fP[=false] Mark merge request as a work in progress. Alternative to --draft .PP \fB-y\fP, \fB--yes\fP[=false] Skip submission confirmation prompt, with --fill it skips all optional prompts .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--help\fP[=false] Show help for command .PP \fB-R\fP, \fB--repo\fP="" Select another repository using the \fB\fCOWNER/REPO\fR or \fB\fCGROUP/NAMESPACE/REPO\fR format or full URL or git URL .SH EXAMPLE .PP .RS .nf glab mr new glab mr create -a username -t "fix annoying bug" glab mr create -f --draft --label RFC glab mr create --fill --web glab mr create --fill --fill-commit-body --yes .fi .RE .SH SEE ALSO .PP \fBglab-mr(1)\fP