gh-pr-create

Manage GitHub pull requests from the command-line.

TLDR

Interactively create a pull request

$ gh pr create
copy

Create a pull request, determining the title and description from the commit messages of the current branch

$ gh pr create --fill
copy

Create a draft pull request

$ gh pr create --draft
copy

Create a pull request specifying the base branch, title, and description

$ gh pr create --base [base_branch] --title "[title]" --body "[body]"
copy

Start opening a pull request in the browser

$ gh pr create --web
copy

Copied to clipboard
realt