Search code examples
githubsearch-engine

How can i make github search to not show multiple results with the same file name?


I have a problem where when i search something in github, there are something 1000 results that are all literally the same file, all the same name, and they are not forks either.

Basically these are just copy pasta codes, and for example i get 1000 results that all end up in xxx.c, which all contain the same code used in different projects..

My question is, is it possible to limit github to only find unique file names? So in our example, only show 1 result that has xxx.c at the end.


Solution

  • Not really, from my experience: once you have speficied your criteria from "Searching Code", any file (from different non-fork repositories) would be displayed.

    Even though they might be the same name/content.