github_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
github_notes [2021/08/16 14:46] – [useful links] raju | github_notes [2024/01/26 18:14] (current) – [exclude forks from search results] raju | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== useful links ==== | + | ===== favorite configuration ===== |
- | * https:// | + | ==== show private contributions on the github profile |
+ | * Profile icon at the top right -> Settings -> Contributions & Activity -> " | ||
+ | ==== hide achievements on the github profile ==== | ||
+ | * Profile icon at the top right -> Settings -> Profile Settings -> "Show Achievements on my profile" | ||
+ | |||
+ | ===== dummy ===== | ||
==== links I came across ==== | ==== links I came across ==== | ||
- | * https:// | + | * [[https:// |
+ | * [[https:// | ||
+ | * [[https:// | ||
* Beginning August 13, 2021, we will no longer accept account passwords when authenticating Git operations on GitHub.com. | * Beginning August 13, 2021, we will no longer accept account passwords when authenticating Git operations on GitHub.com. | ||
+ | |||
+ | ==== useful links ==== | ||
+ | * https:// | ||
==== code search ==== | ==== code search ==== | ||
* https:// | * https:// | ||
* sample query: https:// | * sample query: https:// | ||
+ | |||
+ | ===== searching code ===== | ||
+ | ==== search files with extension ==== | ||
+ | < | ||
+ | foo path: | ||
+ | </ | ||
+ | |||
+ | ex:- | ||
+ | < | ||
+ | foo path: | ||
+ | </ | ||
+ | |||
+ | will search for '' | ||
+ | |||
+ | Ref:- https:// | ||
+ | |||
+ | ==== search in a particular file ==== | ||
+ | Use | ||
+ | < | ||
+ | filename: | ||
+ | </ | ||
+ | for example | ||
+ | < | ||
+ | python unittest filename: | ||
+ | </ | ||
+ | |||
+ | ==== exclude a repository from search results ==== | ||
+ | Add | ||
+ | < | ||
+ | -repo: | ||
+ | </ | ||
+ | to the search string. | ||
+ | |||
+ | Ref: | ||
+ | * https:// | ||
+ | |||
+ | ==== exclude forks from search results ==== | ||
+ | tags | do not search in forks | ||
+ | |||
+ | To exclude forks from your results: | ||
+ | < | ||
+ | NOT is:fork | ||
+ | </ | ||
+ | |||
+ | To search only fork repositories: | ||
+ | < | ||
+ | is:fork | ||
+ | </ | ||
+ | |||
+ | Example: | ||
+ | < | ||
+ | header_to_metadata_and_cell NOT is:fork | ||
+ | </ | ||
+ | will search for header_to_metadata_and_cell in non-fork repositories. | ||
+ | |||
+ | On 2026-01-26, '' | ||
+ | |||
+ | Ref: | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | ===== search issues ===== | ||
+ | ==== search issues filed by a user ==== | ||
+ | For your own issues | ||
+ | < | ||
+ | https:// | ||
+ | </ | ||
+ | |||
+ | For other users, there are two possible approaches. | ||
+ | |||
+ | Solution 1: | ||
+ | < | ||
+ | https:// | ||
+ | </ | ||
+ | |||
+ | For example | ||
+ | < | ||
+ | https:// | ||
+ | </ | ||
+ | |||
+ | Solution 2: | ||
+ | < | ||
+ | is:issue is:open author: | ||
+ | </ | ||
+ | for example | ||
+ | < | ||
+ | is:issue is:open author: | ||
+ | </ | ||
github_notes.1629125191.txt.gz · Last modified: 2021/08/16 14:46 by raju