1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 20:02:09 +02:00
tldr/pages/common/gh-pr-create.md
Lena 7ca1069d76
pages/*: reword descriptions without using "a CLI for" etc. (#10437)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 19:23:40 +02:00

24 lines
596 B
Markdown

# gh pr create
> Manage GitHub pull requests.
> More information: <https://cli.github.com/manual/gh_pr_create>.
- Interactively create a pull request:
`gh pr create`
- Create a pull request, determining the title and description from the commit messages of the current branch:
`gh pr create --fill`
- Create a draft pull request:
`gh pr create --draft`
- Create a pull request specifying the base branch, title, and description:
`gh pr create --base {{base_branch}} --title "{{title}}" --body "{{body}}"`
- Start opening a pull request in the default web browser:
`gh pr create --web`