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, 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.