gh-pr-create: add page (#6159)

beep
Kohei SUGI 2021-06-29 04:58:36 +09:00 committed by GitHub
parent c5bc7d0852
commit 2afdeff56f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# gh pr create
> Manage GitHub pull requests from the command-line.
> 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 browser:
`gh pr create --web`