Man page - glab-mr-create(1)
Packages contas this manual
- glab-mr-close(1)
- glab-label(1)
- glab-variable-set(1)
- glab-ci-run(1)
- glab-repo-fork(1)
- glab-mr-approve(1)
- glab-mr-issues(1)
- glab-ssh-key(1)
- glab-job-artifact(1)
- glab-repo-mirror(1)
- glab-config-set(1)
- glab-ssh-key-delete(1)
- glab-repo-transfer(1)
- glab-release-create(1)
- glab-user(1)
- glab-schedule-list(1)
- glab-release(1)
- glab-mr-diff(1)
- glab-stack-sync(1)
- glab-ci(1)
- glab-mr-delete(1)
- glab-issue-create(1)
- glab-repo-contributors(1)
- glab-schedule-create(1)
- glab-auth(1)
- glab-repo-clone(1)
- glab-config(1)
- glab-cluster-agent-update-kubeconfig(1)
- glab-mr(1)
- glab-mr-note(1)
- glab-stack-switch(1)
- glab-ci-lint(1)
- glab-repo-list(1)
- glab-ci-config-compile(1)
- glab-issue-board-view(1)
- glab-incident-close(1)
- glab-cluster-agent-bootstrap(1)
- glab-mr-unsubscribe(1)
- glab-schedule(1)
- glab-variable-delete(1)
- glab-stack-prev(1)
- glab-incident-view(1)
- glab-ci-get(1)
- glab-ci-run-trig(1)
- glab-release-download(1)
- glab-stack-create(1)
- glab-mr-revoke(1)
- glab-completion(1)
- glab-ci-trigger(1)
- glab-token-list(1)
- glab-repo-archive(1)
- glab-stack-first(1)
- glab-issue(1)
- glab-config-get(1)
- glab-ci-list(1)
- glab-release-upload(1)
- glab-cluster-agent-list(1)
- glab-mr-list(1)
- glab-incident-reopen(1)
- glab-cluster-agent(1)
- glab-issue-update(1)
- glab-token-rotate(1)
- glab-mr-create(1)
- glab-stack-list(1)
- glab-snippet(1)
- glab-incident-list(1)
- glab-ci-delete(1)
- glab-variable(1)
- glab-mr-rebase(1)
- glab-duo-ask(1)
- glab-incident-subscribe(1)
- glab-api(1)
- glab-ssh-key-add(1)
- glab-issue-list(1)
- glab-ci-retry(1)
- glab-issue-close(1)
- glab-token-create(1)
- glab-cluster-agent-check_manifest_usage(1)
- glab-repo-delete(1)
- glab-mr-todo(1)
- glab-label-list(1)
- glab-stack-move(1)
- glab-repo-create(1)
- glab-ci-trace(1)
- glab-cluster(1)
- glab-release-delete(1)
- glab-token-revoke(1)
- glab-repo(1)
- glab-user-events(1)
- glab-schedule-update(1)
- glab-variable-list(1)
- glab-stack-save(1)
- glab-issue-view(1)
- glab-incident(1)
- glab-snippet-create(1)
- glab-ci-status(1)
- glab-issue-note(1)
- glab-auth-login(1)
- glab-ci-config(1)
- glab-incident-note(1)
- glab-issue-board(1)
- glab-changelog-generate(1)
- glab-issue-unsubscribe(1)
- glab-token(1)
- glab-alias-list(1)
- glab-issue-delete(1)
- glab-changelog(1)
- glab-alias-set(1)
- glab-mr-update(1)
- glab-schedule-delete(1)
- glab-mr-checkout(1)
- glab-job(1)
- glab-alias-delete(1)
- glab-stack-next(1)
- glab-ci-cancel(1)
- glab-release-list(1)
- glab(1)
- glab-repo-search(1)
- glab-ssh-key-get(1)
- glab-stack-last(1)
- glab-label-create(1)
- glab-ci-cancel-job(1)
- glab-check-update(1)
- glab-duo(1)
- glab-variable-export(1)
- glab-issue-subscribe(1)
- glab-label-delete(1)
- glab-repo-view(1)
- glab-mr-merge(1)
- glab-alias(1)
- glab-mr-subscribe(1)
- glab-variable-get(1)
- glab-version(1)
- glab-auth-status(1)
- glab-variable-update(1)
- glab-mr-view(1)
- glab-schedule-run(1)
- glab-release-view(1)
- glab-mr-reopen(1)
- glab-ssh-key-list(1)
- glab-ci-view(1)
- glab-incident-unsubscribe(1)
- glab-ci-cancel-pipeline(1)
- glab-stack(1)
- glab-issue-reopen(1)
- glab-stack-amend(1)
- glab-issue-board-create(1)
- glab-stack-reorder(1)
- glab-cluster-agent-get-token(1)
- glab-mr-approvers(1)
apt-get install glab
Manual
| glab(1) | glab(1) |
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)
| Jun 2025 | Auto generated by spf13/cobra |