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
Last revisionBoth sides next revision
github_notes [2023/12/25 07:53] – [search files with extension] rajugithub_notes [2024/01/26 18:10] – [exclude a repository from search results] raju
Line 54: Line 54:
 Ref: Ref:
   * https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#exclude-certain-results - documents the '-' operator.   * https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#exclude-certain-results - documents the '-' operator.
 +
 +==== exclude forks from search results ====
 +tags | do not search in forks
 +
 +To exclude forks from the search results, you can append
 +<code>
 +NOT is:fork
 +</code>
 +
 +Example:
 +<code>
 +header_to_metadata_and_cell NOT is:fork
 +</code>
 +
 +On 2026-01-26, ''header_to_metadata_and_cell NOT is:fork'' gave 33 results vs 204 results for ''header_to_metadata_and_cell''
 +
 ===== search issues ===== ===== search issues =====
 ==== search issues filed by a user ==== ==== search issues filed by a user ====
github_notes.txt · Last modified: 2024/01/26 18:14 by raju