Options (5)
-f, --fillbooleanCreate a merge request, determining the title and description from the commit messages of the current branch
Example:
glab mr create {{[-f|--fill]}}-b, --target-branchbooleanCreate a merge request specifying the target branch, title, and description
Example:
glab mr create {{[-b|--target-branch]}} {{target_branch}} {{[-t|--title]}} "{{title}}" {{[-d|--description]}} "{{description}}"-t, --titlebooleanCreate a merge request specifying the target branch, title, and description
Example:
glab mr create {{[-b|--target-branch]}} {{target_branch}} {{[-t|--title]}} "{{title}}" {{[-d|--description]}} "{{description}}"-d, --descriptionbooleanCreate a merge request specifying the target branch, title, and description
Example:
glab mr create {{[-b|--target-branch]}} {{target_branch}} {{[-t|--title]}} "{{title}}" {{[-d|--description]}} "{{description}}"-w, --webbooleanStart opening a merge request in the default web browser
Example:
glab mr create {{[-w|--web]}}Examples (5)
Interactively create a merge request
Create a merge request, determining the title and description from the commit messages of the current branch
glab mr create [-f|--fill]Create a draft merge request
glab mr create --draftCreate a merge request specifying the target branch, title, and description
glab mr create [-b|--target-branch] target_branch [-t|--title] "title" [-d|--description] "description"Start opening a merge request in the default web browser
glab mr create [-w|--web]made by @shridhargupta | data from tldr-pages