glab-mr-approve - Man Page

Approve merge requests.

Synopsis

glab mr approve { | } [flags]

Description

Approve merge requests.

Options

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

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 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)

Referenced By

glab-mr(1).

Oct 2024 Auto generated by spf13/cobra