GitHub Search Syntax Cheatsheet
A complete guide to finding users, repositories, and code using GitHub's advanced search qualifiers.
1User Search Qualifiers
Use these to find specific people or candidates. Combine them with spaces (AND logic).
| Qualifier | Example | Description |
|---|---|---|
| location:Location | location:Berlin | Find users in a specific city or country. |
| language:Language | language:Rust | Find users who have repositories in this language. |
| followers:>N | followers:>50 | Find users with more than N followers. |
| repos:>N | repos:>10 | Find users with more than N repositories. |
| fullname:"Name" | fullname:"Dan Abramov" | Search by real name. |
| created:>YYYY-MM-DD | created:>2023-01-01 | Find users who joined after a date. |
2Repository Search Qualifiers
Useful for finding projects or libraries to use (or to find maintainers).
| Qualifier | Example | Description |
|---|---|---|
| stars:>N | stars:>1000 | Find repositories with many stars. |
| topic:Topic | topic:machine-learning | Find repos tagged with a specific topic. |
| pushed:>YYYY-MM-DD | pushed:>2024-01-01 | Find repos that were updated recently. |
| license:License | license:mit | Filter by license type. |
3Logical Operators
AND
Spaces between terms act as AND.
language:python location:LondonOR
Use OR (must be capitalized).
location:London OR location:BerlinNOT
Use - to exclude results.
language:java -language:javascriptRange
Use .. for ranges.
followers:100..500