< Cli < ref

mw gitlab mr approve

Approve merge requests

mw gitlab 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              Help for this command
      --no-interaction    Do not ask any interactive questions
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
  -v, --verbose count     Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.