Skip to content

search for NOT author #22902

Description

@aczechowski

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions