GH-PR(1) GitHub CLI manual GH-PR(1)

gh-pr - Manage pull requests

gh pr <command> [flags]

Work with GitHub pull requests.

Create a pull request

List pull requests in a repository

Show status of relevant pull requests

Check out a pull request in git

Show CI status for a single pull request

Close a pull request

Add a comment to a pull request

View changes in a pull request

Edit a pull request

Lock pull request conversation

Merge a pull request

Mark a pull request as ready for review

Reopen a pull request

Add a review to a pull request

Unlock pull request conversation

View a pull request

Select another repository using the [HOST/]OWNER/REPO format

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

gh(1)

Nov 2024