github.com/zaquestion/lab@v0.25.1/docs/lab_mr_edit.md (about) 1 ## lab mr edit 2 3 Edit or update an MR 4 5 ``` 6 lab mr edit [remote] <id>[:<comment_id>] [flags] 7 ``` 8 9 ### Examples 10 11 ``` 12 lab mr edit 2 13 lab mr edit 2:5684032 14 lab mr edit 3 remote -m "new title" 15 lab mr edit 5 upstream -m "new title" -m "new desc" 16 lab mr edit 7 -l new_label --unlabel old_label 17 lab mr edit 11 upstream -a johndoe -a janedoe 18 lab mr edit 17 upstream --unassign johndoe 19 lab mr edit 13 upstream --milestone "summer" 20 lab mr edit 19 origin --target-brnch other_brnch 21 lab mr edit 23 upstream -F test_file 22 lab mr edit 29 upstream -F test_file --force-linebreak 23 lab mr edit 31 upstream --draft 24 lab mr edit 37 upstream --ready 25 lab mr edit 41 upstream -r johndoe -r janedoe 26 lab mr edit 43 upstream --unreview johndoe 27 lab mr edit --delete-note 2:5684032 28 ``` 29 30 ### Options 31 32 ``` 33 -m, --message strings use the given <msg>; multiple -m are concatenated as separate paragraphs 34 -l, --label strings add the given label(s) to the merge request 35 --unlabel strings remove the given label(s) from the merge request 36 -a, --assign strings add an assignee by username 37 --unassign strings remove an assignee by username 38 --milestone string set milestone 39 -t, --target-branch string edit MR target branch 40 -F, --file string use the given file as the description 41 --force-linebreak append 2 spaces to the end of each line to force markdown linebreaks 42 --draft mark the merge request as draft 43 --ready mark the merge request as ready 44 -r, --review strings add an reviewer by username 45 --unreview strings remove an reviewer by username 46 --delete-note delete the given note; must be provided in <mrID>:<noteID> format 47 -h, --help help for edit 48 ``` 49 50 ### Options inherited from parent commands 51 52 ``` 53 --debug Enable debug logging level 54 --no-pager Do not pipe output into a pager 55 --quiet Turn off any sort of logging. Only command output is printed 56 ``` 57 58 ### SEE ALSO 59 60 * [lab mr](lab_mr.md) - Describe, list, and create merge requests 61 62 ###### Auto generated by spf13/cobra on 27-Jun-2022