github.com/zaquestion/lab@v0.25.1/docs/lab_mr_create.md (about) 1 ## lab mr create 2 3 Creates a merge request. 4 5 ``` 6 lab mr create [target_remote [target_branch]] [flags] 7 ``` 8 9 ### Examples 10 11 ``` 12 lab mr create target_remote 13 lab mr create target_remote target_branch --allow-collaboration 14 lab mr create upstream main --source my_fork:feature-3 15 lab mr create a_remote -a johndoe -a janedoe 16 lab mr create my_remote -c 17 lab mr create my_remote --draft 18 lab mr create my_remote -F a_file.txt 19 lab mr create my_remote -F a_file.txt --force-linebreak 20 lab mr create my_remote -f a_file.txt 21 lab mr create my_remote -l bug -l confirmed 22 lab mr create my_remote -m "A title message" 23 lab mr create my_remote -m "A MR title" -m "A MR description" 24 lab mr create my_remote --milestone "Fall" 25 lab mr create my_remote -d 26 lab mr create my_remote -r johndoe -r janedoe 27 lab mr create my_remote -s 28 ``` 29 30 ### Options 31 32 ``` 33 --allow-collaboration allow commits from other members 34 -a, --assignee strings set assignee by username; can be specified multiple times for multiple assignees 35 -c, --cover-letter comment changelog and diffstat 36 --draft mark the merge request as draft 37 -F, --file string use the given file as the Title and Description 38 -f, --file-edit string use the given file as the Title and Description and open the editor 39 --force-linebreak append 2 spaces to the end of each line to force markdown linebreaks 40 -h, --help help for create 41 -l, --label strings add label <label>; can be specified multiple times for multiple labels 42 -m, --message stringArray use the given <msg>; multiple -m are concatenated as separate paragraphs 43 --milestone string set milestone by milestone title or ID 44 --no-edit use the selected commit message without opening the editor 45 -d, --remove-source-branch remove source branch from remote after merge 46 -r, --reviewer strings set reviewer by username; can be specified multiple times for multiple reviewers 47 --source string specify the source remote and branch in the form of remote:branch 48 -s, --squash squash commits when merging 49 ``` 50 51 ### Options inherited from parent commands 52 53 ``` 54 --debug Enable debug logging level 55 --no-pager Do not pipe output into a pager 56 --quiet Turn off any sort of logging. Only command output is printed 57 ``` 58 59 ### SEE ALSO 60 61 * [lab mr](lab_mr.md) - Describe, list, and create merge requests 62 63 ###### Auto generated by spf13/cobra on 27-Jun-2022