1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 00:35:23 +02:00
tldr/pages/common/gh-pr-create.md
Managor ad7b6f797c
common*: refresh old pages part 6 (#16288)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-05-03 05:57:05 +03:00

24 lines
650 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 {{[-f|--fill]}}`
- Create a draft pull request:
`gh pr create {{[-d|--draft]}}`
- Create a pull request specifying the base branch, title, and description:
`gh pr create {{[-B|--base]}} {{base_branch}} {{[-t|--title]}} "{{title}}" {{[-b|--body]}} "{{body}}"`
- Start opening a pull request in the default web browser:
`gh pr create {{[-w|--web]}}`