Provided by: glab_1.53.0-1_amd64 bug

NAME

       glab-mr-create - Create a new merge request.

SYNOPSIS

       glab mr create [flags]

DESCRIPTION

       Create a new merge request.

OPTIONS

       --allow-collaboration[=false]      Allow commits from other members.

       -a, --assignee=[]      Assign merge request to people by their usernames.

       --copy-issue-labels[=false]      Copy labels from issue to the merge request. Used with --related-issue.

       --create-source-branch[=false]      Create a source branch if it does not exist.

       -d, --description=""      Supply a description for the merge request.

       --draft[=false]      Mark merge request as a draft.

       -f,  --fill[=false]       Do  not prompt for title or description, and just use commit info. Sets push to
       true, and pushes the branch.

       --fill-commit-body[=false]      Fill description with each commit body when multiple commits. Can only be
       used with --fill.

       -H, --head=""      Select another head repository using the OWNER/REPO  or  GROUP/NAMESPACE/REPO  format,
       the project ID, or the full URL.

       -l, --label=[]      Add label by name. Multiple labels should be comma-separated.

       -m, --milestone=""      The global ID or title of a milestone to assign.

       --no-editor[=false]       Don't  open  editor  to  enter a description. If true, uses prompt. Defaults to
       false.

       --push[=false]      Push committed changes after creating merge request. Make  sure  you  have  committed
       changes.

       --recover[=false]       Save  the  options  to  a  file  if the merge request creation fails. If the file
       exists, the options are loaded from the recovery file. (EXPERIMENTAL.)

       -i, --related-issue=""      Create a merge request for an issue. If --title is  not  provided,  uses  the
       issue title.

       --remove-source-branch[=false]      Remove source branch on merge.

       --reviewer=[]      Request review from users by their usernames.

       --signoff[=false]      Append a DCO signoff to the merge request description.

       -s, --source-branch=""      Create a merge request from this branch. Default is the current branch.

       --squash-before-merge[=false]      Squash commits into a single commit when merging.

       -b, --target-branch=""      The target or base branch into which you want your code merged into.

       -t, --title=""      Supply a title for the merge request.

       -w, --web[=false]      Continue merge request creation in a browser.

       --wip[=false]      Mark merge request as a draft. Alternative to --draft.

       -y, --yes[=false]      Skip submission confirmation prompt. Use --fill to skip all optional prompts.

OPTIONS INHERITED FROM PARENT COMMANDS

       --help[=false]      Show help for this command.

       -R,  --repo=""       Select another repository. Can use either OWNER/REPO or GROUP/NAMESPACE/REPO format.
       Also accepts full URL or Git URL.

EXAMPLE

       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

SEE ALSO

       glab-mr(1)

Auto generated by spf13/cobra                       Apr 2025                                             glab(1)