GH-SEARCH-PRS(1) | GitHub CLI manual | GH-SEARCH-PRS(1) |
gh-search-prs - Search for pull requests
gh search prs [<query>] [flags]
Search for pull requests on GitHub.
The command supports constructing queries using the GitHub search syntax, using the parameter and qualifier flags, or a combination of the two.
GitHub search syntax is documented at:
⟨https://docs.github.com/search-github/searching-on-github/searching-issues-and-pull-requests⟩
# search pull requests matching set of keywords "fix" and "bug" $ gh search prs fix bug # search draft pull requests in cli repository $ gh search prs --repo=cli/cli --draft # search open pull requests requesting your review $ gh search prs --review-requested=@me --state=open # search merged pull requests assigned to yourself $ gh search prs --assignee=@me --merged # search pull requests with numerous reactions $ gh search prs --reactions=">100" # search pull requests without label "bug" $ gh search prs -- -label:bug # search pull requests only from un-archived repositories (default is all repositories) $ gh search prs --owner github --archived=false
gh-search(1)
Nov 2024 |