Scroll to navigation

glab(1) glab(1)

NAME

glab-mr-close - Close a merge request.

SYNOPSIS

glab mr close [ | ] [flags]

DESCRIPTION

Defaults to the currently checked-out branch. You can close multiple merge requests by passing multiple IDs or branch names.

OPTIONS INHERITED FROM PARENT COMMANDS

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

-R, --repo="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

EXAMPLE

glab mr close 1
# Close multiple merge requests at once
glab mr close 1 2 3 4
# Use the checked-out branch
glab mr close
glab mr close branch
glab mr close username:branch
glab mr close branch -R another/repo

SEE ALSO

glab-mr(1)

May 2026 Auto generated by spf13/cobra