gh pr create --title 'Feature' --body 'PR body' --base main

Category: GitHub CLI

gh pr create --title 'Feature' --body 'PR body' --base main

Create a new pull request

Creates a new pull request (a proposal to merge your code changes into the main branch).
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.