How to exclude search results? #23330
-
About 40% of commits in https://github.com/dotnet/winforms/ repo is done by a bot (example). I want to see all PRs from humans and exlcude the automated PRs. How can I do that? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hello @russkie, You can exclude certain subsets by prefixing the qualifier with a “-”. So -author:app/dotnet-maestro will exclude all results where the author is the bot. You can read more about the search syntax here. |
Beta Was this translation helpful? Give feedback.
-
Awesome! Thank you. I wish the same page was linked from https://help.github.com/en/articles/searching-issues-and-pull-requests or from the actual “advanced search” link |
Beta Was this translation helpful? Give feedback.
-
It does not work, examples:
github/git-msysgit always in search results. |
Beta Was this translation helpful? Give feedback.
Hello @russkie,
You can exclude certain subsets by prefixing the qualifier with a “-”. So -author:app/dotnet-maestro will exclude all results where the author is the bot. You can read more about the search syntax here.