Skip to content

Useful Github Search Capabilities for Issues and Pull Requests

Erica Pisani
Erica Pisani
1 min read

In my day-to-day I often find myself wanting to search for pull requests and issues that I’ve commented on without necessarily being the author of the pull request/issue. Fortunately, Github has a couple of pretty useful search options for just this purpose!

Search by commenter

This is a filter I now use multiple times a day when I’m chatting with someone and have a “I know I’ve been in a conversation about this somewhere on Github already” moment.

The syntax for this is commenter:<a github username>.

Search for a user that’s involved in an issue or pull request

More broad than the ‘search by commenter’ filter mentioned above, this works as an OR between the author, assignee, mentions, and commenter filters.

The syntax for this is involves:<a github username>

Wrap up

If you’re interested in taking a look at some of the other search options that Github has (and I highly encourage doing so), you can find their full documentation about this topic here.


📫
Enjoy this post? Subscribe to be notified when I publish new content!
tips-and-tricks

Comments


Related Posts

Members Public

How to install nvim-ufo in LazyVim to enable foldable code blocks

A feature that I've found myself missing since making the switch to Vim as my editor of choice is the ability to easily fold and expand code blocks. I know this functionality is included in Neovim, but I couldn't understand the native implementation enough to use

How to install nvim-ufo in LazyVim to enable foldable code blocks
Members Public

Git Log's Hidden Gems: Using -S and -L for Powerful Code History Search

Ever needed to track down when a specific piece of code was first introduced in a project? As part of some refactoring I had to do recently, I needed to do just that for a variable on a Django model. I was already familiar with the basic git log command,

Git Log's Hidden Gems: Using -S and -L for Powerful Code History Search
Members Public

Using XOR to write concise conditionals

It's not uncommon that I sometimes write if statements where the overall conditional is true when both conditions are true or both are false. As an example, let's say I'm validating input from an API call where I'm updating information on a