Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

@JMichaelTX

This comment has been minimized.

Copy link

@JMichaelTX JMichaelTX commented Oct 30, 2018

@santisbon, thanks. This is very helpful.

@RickJP

This comment has been minimized.

Copy link

@RickJP RickJP commented Nov 4, 2018

Great guide. Just what I was looking for.

@gnzgo

This comment has been minimized.

Copy link

@gnzgo gnzgo commented Mar 6, 2019

Thank you, exactly what I was looking for.

@jinahya

This comment has been minimized.

Copy link

@jinahya jinahya commented Apr 28, 2019

Thank you for sharing this information!

@john-lorrenz

This comment has been minimized.

Copy link

@john-lorrenz john-lorrenz commented Dec 22, 2019

thank you

@muthu32

This comment has been minimized.

Copy link

@muthu32 muthu32 commented Mar 3, 2020

Very Helpful. Thank you

@bard86

This comment has been minimized.

Copy link

@bard86 bard86 commented May 23, 2020

Thnx!

@mals14

This comment has been minimized.

Copy link

@mals14 mals14 commented Jun 2, 2020

thanks for pulling this together! do you know if it is possible to search the gists that you have starred? just like one can search forked gists.

@Svastikkka

This comment has been minimized.

Copy link

@Svastikkka Svastikkka commented Oct 2, 2020

@santisbon, thanks

@johnquintero

This comment has been minimized.

Copy link

@johnquintero johnquintero commented Nov 3, 2020

Thanks!

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