mirror of https://gitlab.com/gitlab-org/cli.git
1008 B
1008 B
stage | group | info |
---|---|---|
Create | Code Review | To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments |
glab mr approve
Approve merge requests
glab mr approve {<id> | <branch>} [flags]
Examples
glab mr approve 235
glab mr approve 123 345
glab mr approve branch-1
glab mr approve branch-2 branch-3
glab mr approve # Finds open merge request from current branch
Options
-s, --sha string SHA which must match the SHA of the HEAD commit of the merge request
Options inherited from parent commands
--help Show help for command
-R, --repo OWNER/REPO Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL