logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

glab-mr-update - Update a merge request.

Description

       Update a merge request.

Example

       $ glab mr update 23 --ready
       $ glab mr update 23 --draft

       # Updates the merge request for the current branch
       $ glab mr update --draft

Name

       glab-mr-update - Update a merge request.

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. Set to "" 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 this command.

       -R, --repo=""      Select another repository. Can use either OWNER/REPO or  GROUP/NAMESPACE/REPO  format.
       Also accepts full URL or Git URL.

See Also

glab-mr(1)

Auto generated by spf13/cobra                       Nov 2024                                             glab(1)

Synopsis

glabmrupdate[|][flags]

See Also