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, born 40 years ago in Heidelberg, Germany. Today I am living in Munich and Stockholm. I am a passionate IT freelancer with more than 16 years experience in programming, especially in developing web based applications for companies that range from small startups to the big players out there. I am founder of, creator of the security service platform BosyProtect© and initiator of several other software projects.