glab-mr-update - Man Page

Update merge requests

Synopsis

glab mr update [ | ] [flags]

Description

Update merge requests

Options

-a, --assignee=[] assign users via username, prefix with '!' or '-' to remove from existing assignees, '+' to add, otherwise replace existing assignees with given users

-d, --description="" merge request description; set to "-" to open an editor

--draft[=false] Mark merge request as a draft

-l, --label=[] add labels

--lock-discussion[=false] Lock discussion on merge request

-m, --milestone="" title of the milestone to assign, pass "" or 0 to unassign

-r, --ready[=false] Mark merge request as ready to be reviewed and merged

--remove-source-branch[=false] Toggles the removal of the Source Branch on merge

--reviewer=[] 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[=false] Toggles the option to squash commits into a single commit when merging

--target-branch="" set target branch

-t, --title="" Title of merge request

--unassign[=false] unassign all users

-u, --unlabel=[] remove labels

--unlock-discussion[=false] Unlock discussion on merge request

--wip[=false] Mark merge request as a work in progress. Alternative to --draft

Options Inherited from Parent Commands

--help[=false] Show help for command

-R, ā€‰--repo="" Select another repository using the OWNER/REPO or GROUP/NAMESPACE/REPO
format or full URL or git URL

Example

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

See Also

glab-mr(1)

Referenced By

glab-mr(1).

Nov 2023 Auto generated by spf13/cobra