This article's content
Searching in GitHub

Searching code

someCodePiece in:file searches for code in any file in the repository

filename: something.ts searches for filenames in the repository

something in:path searches in file path

You can search by more criteria like size:>10000, language:LANGUAGE, extension:TS or by user:USERNAME, org:ORGNAME, repo:USERNAME/REPOSITORY

You can search almost anything, for example commits, topics, repositories, issues, PRs, discussions, users, packages, wikis, forks.

More on the Search On GitHub page.

About Author

Mathias Bothe To my job profile

I am Mathias from Heidelberg, Germany. I am a passionate IT freelancer with 15+ years experience in programming, especially in developing web based applications for companies that range from small startups to the big players out there. I create Bosycom and initiated several software projects.