1
0
mirror of synced 2026-01-09 06:03:09 -05:00
Files
docs/content/github/searching-for-information-on-github/searching-in-forks.md
2020-11-02 15:12:44 -06:00

1.9 KiB

title, intro, redirect_from, versions
title intro redirect_from versions
Searching in forks By default, [forks](/articles/about-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.
/articles/searching-in-forks
free-pro-team enterprise-server github-ae
* * *

To show forks in repository search results, add fork:true or fork:only to your query.

Forks are only indexed for code search when they have more stars than the parent repository. You will not be able to search the code in a fork that has less stars than its parent. To show forks with more stars than the parent repository in code search results, add fork:true or fork:only to your query.

The fork:true qualifier finds all results that match your search query, including forks. The fork:only qualifier finds only forks that match your search query.

Qualifier Example
fork:true github fork:true matches all repositories containing the word "github," including forks.
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:>500 fork:only matches repositories with more than 500 forks, and only returns those that are forks.

Further reading