gh pr

Manage GitHub pull requests. Some subcommands such as create have their own usage documentation. More information: https://cli.github.com/manual/gh_pr.

gh pr create

gh pr checkout {{pr_number}}

gh pr diff

gh pr review {{[-a|--approve]}}

gh pr merge

gh pr edit

gh pr edit {{[-B|--base]}} {{branch_name}}

gh pr status