gh pr create --fill --label bug --reviewer alice

Category: GitHub CLI

gh pr create --fill --label bug --reviewer alice

Create PR from commit info with label and reviewer

--fill pulls the title and body from your commit messages so you skip the editor prompts. --label attaches a label by name and --reviewer requests a review from a person or team by handle. Combine these flags to create fully-specified PRs in one shot instead of editing afterwards.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.