Skip to main content
설명서에 자주 업데이트를 게시하며 이 페이지의 번역이 계속 진행 중일 수 있습니다. 최신 정보는 영어 설명서를 참조하세요.

포크에서 검색

기본적으로 포크는 검색 결과에 표시되지 않습니다. 포크를 리포지토리 검색에 포함하고, 특정 조건을 충족하는 경우 코드 검색에 포함하도록 선택할 수 있습니다.

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.

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