mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 13:58:16 +00:00
Update cheatsheets
This commit is contained in:
29
glab-mr-create
Normal file
29
glab-mr-create
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# glab mr create
|
||||
|
||||
> Manage GitLab merge requests.
|
||||
> More information: <https://glab.readthedocs.io/en/latest/mr/create.html>.
|
||||
|
||||
- Interactively create a merge request:
|
||||
|
||||
`glab mr create`
|
||||
|
||||
- Create a merge request, determining the title and description from the commit messages of the current branch:
|
||||
|
||||
`glab mr create --fill`
|
||||
|
||||
- Create a draft merge request:
|
||||
|
||||
`glab mr create --draft`
|
||||
|
||||
- Create a merge request specifying the target branch, title, and description:
|
||||
|
||||
`glab mr create --target-branch {{target_branch}} --title "{{title}}" --description "{{description}}"`
|
||||
|
||||
- Start opening a merge request in the default web browser:
|
||||
|
||||
`glab mr create --web`
|
||||
Reference in New Issue
Block a user