Create a pull request non-interactively.
Section: Pull Requests Core
Create PR with explicit title/body
bash
bash
gh pr create --title "Add health endpoint" --body "Adds /healthz" --base main --head feature/healthExplanation
Create a pull request non-interactively.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Pull Requests Core