From 2afdeff56ffc684eec49505f1476bca88bbbb905 Mon Sep 17 00:00:00 2001 From: Kohei SUGI Date: Tue, 29 Jun 2021 04:58:36 +0900 Subject: [PATCH] gh-pr-create: add page (#6159) --- pages/common/gh-pr-create.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/gh-pr-create.md diff --git a/pages/common/gh-pr-create.md b/pages/common/gh-pr-create.md new file mode 100644 index 0000000000..92508004c8 --- /dev/null +++ b/pages/common/gh-pr-create.md @@ -0,0 +1,24 @@ +# gh pr create + +> Manage GitHub pull requests from the command-line. +> More information: . + +- 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`