User Tools

Site Tools


github_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
github_notes [2024/01/26 18:10] – [exclude a repository from search results] rajugithub_notes [2024/01/26 18:14] (current) – [exclude forks from search results] raju
Line 58: Line 58:
 tags | do not search in forks tags | do not search in forks
  
-To exclude forks from the search results, you can append+To exclude forks from your results:
 <code> <code>
 NOT is:fork NOT is:fork
 +</code>
 +
 +To search only fork repositories:
 +<code>
 +is:fork
 </code> </code>
  
Line 67: Line 72:
 header_to_metadata_and_cell NOT is:fork header_to_metadata_and_cell NOT is:fork
 </code> </code>
 +will search for header_to_metadata_and_cell in non-fork repositories.
  
 On 2026-01-26, ''header_to_metadata_and_cell NOT is:fork'' gave 33 results vs 204 results for ''header_to_metadata_and_cell'' On 2026-01-26, ''header_to_metadata_and_cell NOT is:fork'' gave 33 results vs 204 results for ''header_to_metadata_and_cell''
 +
 +Ref:
 +  * https://docs.github.com/en/search-github/github-code-search/understanding-github-code-search-syntax#is-qualifier - documentation
 +  * https://github.com/orgs/community/discussions/13126
  
 ===== search issues ===== ===== search issues =====
github_notes.1706292617.txt.gz · Last modified: 2024/01/26 18:10 by raju