Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.09 KB

File metadata and controls

50 lines (36 loc) · 1.09 KB
title `glab mr delete`
stage AI Coding
group Code Review
info To determine the technical writer assigned to the Stage/Group associated with this page, see <https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments>

Delete a merge request.

Synopsis

You can delete multiple merge requests by passing multiple IDs or branch names.

glab mr delete [<id> | <branch>] [flags]

Aliases

del

Examples

glab mr delete 123

# Delete multiple merge requests by ID and branch name
glab mr delete 123 branch-name 789

# Delete merge requests !1, !2, !3, !4, !5
glab mr delete 1,2,branch-related-to-mr-3,4,5

glab mr del 123
glab mr delete branch

Options inherited from parent commands

  -h, --help          Show help for this command.
  -R, --repo string   Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.