gh pr create --draft --title 'WIP: spike' --body 'Experimental changes'

Category: GitHub CLI

gh pr create --draft --title 'WIP: spike' --body 'Experimental changes'

Create a draft PR with explicit title and body

--draft marks the pull request as a draft, signaling work-in-progress that cannot be merged yet. Drafts still run CI checks, so reviewers can comment early. Convert to a ready PR later with gh pr ready.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.