gh pr

Work with GitHub pull requests.

To wait for a pull request on github.com to be reviewed, merged, or closed, use gh event listen instead of polling. Changes made before the listener starts are not reported, so read the pull request once it is listening.

General commands

Targeted commands

Options

-R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format

Examples

$ gh pr checkout 353
$ gh pr create --fill
$ gh pr view --web

See also