gh copilot suggest -t gh 'create a pull request to main with draft status'

Category: GitHub Copilot

gh copilot suggest -t gh 'create a pull request to main with draft status'

Get a gh CLI command suggestion

-t gh scopes suggestions to GitHub CLI commands. Copilot will suggest `gh pr create --base main --draft`. Useful when you know you want a gh command but can't remember the exact syntax.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.