Cli/ref/mw gitlab mr update

From mediawiki.org
< Cli‎ | ref

mw gitlab mr update[edit]

Update merge requests

mw gitlab mr update [<id> | <branch>] [flags]

Examples[edit]

glab mr update 23 --ready
glab mr update 23 --draft
glab mr update --draft  # Updates MR related to current branch

Options[edit]

  -a, --assignee strings       assign users via username, prefix with '!' or '-' to remove from existing assignees, '+' to add, otherwise replace existing assignees with given users
  -d, --description string     merge request description; set to "-" to open an editor
      --draft                  Mark merge request as a draft
  -l, --label strings          add labels
      --lock-discussion        Lock discussion on merge request
  -m, --milestone string       title of the milestone to assign, pass "" or 0 to unassign
  -r, --ready                  Mark merge request as ready to be reviewed and merged
      --remove-source-branch   Toggles the removal of the Source Branch on merge
      --reviewer strings       request review from users by their usernames, prefix with '!' or '-' to remove from existing reviewers, '+' to add, otherwise replace existing reviewers with given users
      --squash-before-merge    Toggles the option to squash commits into a single commit when merging
      --target-branch string   set target branch
  -t, --title string           Title of merge request
      --unassign               unassign all users
  -u, --unlabel strings        remove labels
      --unlock-discussion      Unlock discussion on merge request
      --wip                    Mark merge request as a work in progress. Alternative to --draft

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]