GH-PR-LIST(1) | GitHub CLI manual | GH-PR-LIST(1) |
gh-pr-list - List pull requests in a repository
gh pr list [flags]
List pull requests in a GitHub repository.
The search query syntax is documented here: https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests ⟨https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests⟩
List PRs authored by you $ gh pr list --author "@me" List only PRs with all of the given labels $ gh pr list --label bug --label "priority 1" Filter PRs using search syntax $ gh pr list --search "status:success review:required" Find a PR that introduced a given commit $ gh pr list --search "<SHA>" --state merged
Feb 2023 |