docs
docs copied to clipboard
search for NOT author
Code of Conduct
- [X] I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests#search-by-author
What part(s) of the article would you like to see updated?
I was specifically trying to find out how to search pull requests for everything NOT from a specific author. I didn't find anything in this article already (or an existing issue) with the tip to add the dash before the qualifier. I don't think it warrants its own section of the article, just maybe a single example, like in the Search by author section, showing how to do the logical NOT search.
Additional information
Here's a specific example for context (but I don't really want to include in the doc 😄 ) https://github.com/MicrosoftDocs/windows-itpro-docs/pulls?q=is%3Aopen+is%3Apr+-author%3Araju2529+ (that author has a lot of PRs, several hundred in the past few week, so trying to filter those out of the search results)
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
@aczechowski Thank you for opening an issue and linking it to your PR! And for providing all the info! ✨
Thanks, excellent, everyone!