Skip to content

Instantly share code, notes, and snippets.

@y4rr
Forked from santisbon/Search my gists.md
Created April 3, 2022 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save y4rr/f68ec733e7ebb1e5e163d7034349b980 to your computer and use it in GitHub Desktop.
Save y4rr/f68ec733e7ebb1e5e163d7034349b980 to your computer and use it in GitHub Desktop.
How to search gists

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.
user:santisbon

Find all gists with a .yml extension.
extension:yml

Find all gists with HTML files.
language:html

Find all gists with a ".bash_profile" file.
filename:.bash_profile

Excludes all results containing your search term.
NOT

Find gists with greater than 100 stars.
stars:>100

Include anonymous gists in your search.
anon:true

Search all forked gists for results.
fork:only

Find gists containing a file larger than 1000kbs.
size:>1000

Find all workshops by aws-samples updated recently.
workshop user:aws-samples pushed:>2019-12-01

Full code search:
https://help.github.com/articles/searching-code/

Searching:
https://help.github.com/en/github/searching-for-information-on-github/searching-for-repositories#search-by-when-a-repository-was-created-or-last-updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment