Search commits but remove results from forks? #22876
-
I’m using https://help.github.com/articles/searching-commits/ 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? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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: https://github.com/contact. In the meantime, you can always use the fork:false flag to exclude forked results in search :slight_smile: There’s also some more info on searching here: https://help.github.com/articles/searching-code/ Let me know if this works for you! |
Beta Was this translation helpful? Give feedback.
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: https://github.com/contact.
In the meantime, you can always use the fork:false flag to exclude forked results in search :slight_smile: There’s also some more info on searching here: https://help.github.com/articles/searching-code/
Let me know if this works for you!