Is there a way to search for all files with a certain name in all repositories on GitHub?

I've seen the advanced search form, but I can't see anything in there.

If there isn't anything on the GitHub website, is there any other way to do this?

I'm looking to produce various interesting statistics (a simple example is, how many README files are there on GitHub? But there are a broader range of questions.)


Try this:

README.txt in:path

(maybe you will need to click on "Code" on the left side of the search page)


the in:path kinda worked, but searching for

.travis.yml in:path

only returned about 6.8 million entries.

I was about to find 15 million using


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.