Searching in forks
By default, forks are not shown in search results. You can choose to include them in repository searches, and in code searches if they meet certain criteria.
To show forks in repository search results, addfork:true
orfork:only
to your query. For more information, seeSearching for repositories.
Note
Forks can only be included in repository and code searches.
Thefork:true
qualifier finds all results that match your search query, including forks. Thefork:only
qualifier findsonly forks that match your search query.
Qualifier | Example |
---|---|
fork:true | github fork:true matches all repositories containing the word "github," including forks. |
language:LANGUAGE fork:true | android language:java fork:true matches code with the word "android" that's written in Java, in both forks and regular repositories. |
fork:only | github fork:only matches all fork repositories containing the word "github." |
forks:>n fork:only | forks:>500 fork:only matches repositories with more than 500 forks, and only returns those that are forks. |