Cli/ref/mw gitlab mr approve

< Cli | ref

mw gitlab mr approve

edit

Approve merge requests

mw gitlab mr approve {<id> | <branch>} [flags]

Examples

edit
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

edit
  -s, --sha string   SHA which must match the SHA of the HEAD commit of the merge request

Options inherited from parent commands

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

edit