Skip to main content
Select language: current language is English
Search or ask Copilot
Open menu
Collapse sidebarExpand sidebar

Searching gists

You can search for gists on GitHub and narrow the results using search qualifiers.

In this article

Search gists

You can search for gists globally across GitHub.com.

QualifierExample
>ncat stars:>100 finds gists with the word "cat" that have more than 100 stars.
user:USERNAMEuser:octocat gets all gists created by @octocat.
anon:truecat anon:true includes anonymous gists in your search for cat-related gists.
NOTNOT cat excludes all results containing cat.
fork:onlycat fork:only matches all fork repositories containing the word "cat."

Filter content

Gist search looks through the file contents by default. You can also filter the results based on the content.

QualifierExample
filename:FILENAMEfilename:.bashrc finds all gists with a ".bashrc" file.
language:LANGUAGEcat language:html finds all gists with the word "cat" with a HTML file.
extension:EXTENSIONjoin extension:coffee finds all instances of "join" in gists with a coffee extension.
size:>nsystem size:>1000 finds all instances of "system" in gists containing a file larger than 1 MB.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.