Skip to main content

Поиск в вилках

По умолчанию в результатах поиска не отображаются вилки. Их можно включить в поисковые запросы репозитория и в операции поиска по коду, если они соответствуют определенным критериям.

To show forks in repository search results, add fork:true or fork:only to your query. For more information, see Searching for repositories.

Note

Forks can only be included in repository and code searches.

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.

QualifierExample
fork:truegithub fork:true matches all repositories containing the word "github," including forks.
language:LANGUAGE fork:trueandroid language:java fork:true matches code with the word "android" that's written in Java, in both forks and regular repositories.
fork:onlygithub fork:only matches all fork repositories containing the word "github."
forks:>n fork:onlyforks:>500 fork:only matches repositories with more than 500 forks, and only returns those that are forks.

Further reading