Scroll to navigation

glab(1) glab(1)

NAME

glab-mr-approve - Approve merge requests.

SYNOPSIS

glab mr approve [] [flags]

DESCRIPTION

Defaults to the currently checked-out branch.

OPTIONS

-s, --sha="" SHA, which must match the SHA of the HEAD commit of the merge request.

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 approve 235
glab mr approve 123 345
glab mr approve branch-1
glab mr approve branch-2 branch-3
# Finds open merge request from current branch and approves it
glab mr approve

SEE ALSO

glab-mr(1)

May 2026 Auto generated by spf13/cobra