docs icon indicating copy to clipboard operation
docs copied to clipboard

search for NOT author

Open aczechowski opened this issue 2 years ago • 2 comments

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)

aczechowski avatar Dec 30 '22 00:12 aczechowski

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.

welcome[bot] avatar Dec 30 '22 00:12 welcome[bot]

@aczechowski Thank you for opening an issue and linking it to your PR! And for providing all the info! ✨

cmwilson21 avatar Dec 30 '22 15:12 cmwilson21

Thanks, excellent, everyone!

abdowalli avatar Jan 16 '23 00:01 abdowalli