Last active
September 13, 2022 21:32
-
-
Save Artnoc1/8d8858a3fb37e495311c858968e2abfb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Gists’s search supports a variety of different operations. | |
| Here’s a quick cheat sheet for some of the common searches. | |
| Basic search | |
| ---|--- | |
| ``` | |
| This search | Finds repositories with… | |
| cat stars:>100 | Find cat gists with greater than 100 stars. | |
| user:defunkt |Get all gists from the user defunkt. | |
| cat anon:true | Include anonymous gists in your search for cat-related gists. | |
| NOT cat | Excludes all results containing cat. | |
| cat fork:only | Search all forked gists for results containing cat. | |
| ``` | |
| Contents search | |
| Gist search looks through the file contents by default. | |
| You can also filter the results: | |
| ---|--- | |
| ``` | |
| This search | Finds gists with… | |
| filename:.bashrc | Find all gists with a ".bashrc" file. | |
| cat language:html | Find all cat gists with HTML files. | |
| join extension:coffee | Find all instances of join in gists with a coffee extension. | |
| system size:>1000 | Find all instances of system in gists containing a file larger than 1000kbs. | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment