Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

29
gh-pr-create Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`