Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 2

Search commits but remove results from forks?

Solved! Go to Solution.

I'm using to try get generate a nice overview of all my open-source contributions.


But because of _forking_, many of the commits are duplicated on multiple repos. So they show up in the results multiple times. Example:


Is it possible to filter commits by applying a uniqueness constraint on the commit hash. Or an option to remove forked repos?

1 Reply
Pilot Lvl 3
Message 2 of 2

Re: Search commits but remove results from forks?

Hey there @HaraldNordgren, help's arrived.


Yikes, that doesn't sound right. GitHub is meant to ignore forks from search results by default, so it might be worth contacting the folks at GitHub know this is happening. You can get in touch with them here:


In the meantime, you can always use the fork:false flag to exclude forked results in search :) There's also some more info on searching here:


Let me know if this works for you!