Skip to content

Languages

Advanced search
Cheat sheet

Search cheat sheet

GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.

For more information, visit our search help section.

Basic search

This search Finds repositories with…
cat stars:>100 Find cat repositories with greater than 100 stars.
user:defunkt Get all repositories from the user defunkt.
tom location:"San Francisco, CA" Find all tom users in "San Francisco, CA".
join extension:coffee Find all instances of join in code with coffee extension.
NOT cat Excludes all results containing cat.

Repository search

Repository search looks through the projects you have access to on GitHub. You can also filter the results:

This search Finds repositories with…
cat stars:>100 Find cat repositories with greater than 100 stars.
user:defunkt Get all repositories from the user defunkt.
pugs pushed:>2013-01-28 Pugs repositories pushed to since Jan 28, 2013.
node.js forks:<200 Find all node.js repositories with less than 200 forks.
jquery size:1024..4089 Find jquery repositories between the sizes 1024 and 4089 kB.
gitx fork:true Repository search includes forks of gitx.
gitx fork:only Repository search returns only forks of gitx.

Code search

Code search looks through the files hosted on GitHub. You can also filter the results:

This search Finds repositories with…
install repo:charles/privaterepo Find all instances of install in code from the repository charles/privaterepo.
shogun user:heroku Find references to shogun from all public heroku repositories.
join extension:coffee Find all instances of join in code with coffee extension.
system size:>1000 Find all instances of system in code of file size greater than 1000kbs.
examples path:/docs/ Find all examples in the path /docs/.
replace fork:true Search replace in the source code of forks.

Issue search

Issue search looks through issues and pull requests on GitHub. You can also filter the results:

This search Finds issues…
encoding user:heroku Encoding issues across the Heroku organization.
cat is:open Find cat issues that are open.
strange comments:>42 Issues with more than 42 comments.
hard label:bug Hard issues labeled as a bug.
author:mojombo All issues authored by mojombo.
mentions:tpope All issues mentioning tpope.
assignee:rtomayko All issues assigned to rtomayko.
exception created:>2012-12-31 Created since the beginning of 2013.
exception updated:<2013-01-01 Last updated before 2013.

User search

User search finds users with an account on GitHub. You can also filter the results:

This search Finds repositories with…
fullname:"Linus Torvalds" Find users with the full name "Linus Torvalds".
tom location:"San Francisco, CA" Find all tom users in "San Francisco, CA".
chris followers:100..200 Find all chris users with followers between 100 and 200.
ryan repos:>10 Find all ryan users with more than 10 repositories.

9 code results in CleverRaven/Cataclysm-DDA

data/mods/Fuji_Structures/worldgen/s_apt_2.json
Showing the top two matches Last indexed Sep 17, 2018
JSON
70 "toilets": { "p": { } },
71 "place_loot": [
72 { "group": "mansion_books", "chance": 50, "repeat": [ 1 ], "x": [ 15, 15 ], "y": [ 1, 1 ] },
73 { "group": "mansion_books", "chance": 50, "repeat": [ 1 ], "x": [ 17, 17 ], "y": [ 1, 1 ] },
data/json/mapgen/s_bookstore.json
Showing the top two matches Last indexed Jun 2, 2019
JSON
499 { "item": "textbooks", "x": [ 5, 9 ], "y": 12, "chance": 20, "repeat": 2 },
500 { "item": "mansion_books", "x": [ 5, 9 ], "y": 12, "chance": 20, "repeat": 2 },
504 { "item": "textbooks", "x": 5, "y": [ 13, 17 ], "chance": 20, "repeat": 2 },
505 { "item": "mansion_books", "x": 5, "y": [ 13, 17 ], "chance": 20, "repeat": 2 },
506 { "item": "novels", "x": [ 6, 16 ], "y": 17, "chance": 50, "repeat": [ 2, 4 ] },
data/mods/Medieval_Stuff/item_groups.json
Showing the top match Last indexed Jun 22, 2019
JSON
47 "items": [ [ "fire_lance", 2 ], [ "lance_charge", 1 ], [ "lance_charge_shot", 1 ] ]
48 },
49 {
50 "id": "mansion_books",
51 "type": "item_group",
52 "items": [ [ "manual_swordsmanship", 3 ] ]
data/json/mapgen/library.json
Showing the top two matches Last indexed Jun 23, 2019
JSON
83 { "item": "novels", "x": 21, "y": [ 13, 15 ], "chance": 98, "repeat": [ 12, 20 ] },
84 { "item": "mansion_books", "x": 21, "y": [ 16, 19 ], "chance": 20, "repeat": [ 2, 5 ] },
363 { "item": "novels", "x": [ 3, 12 ], "y": [ 8, 9 ], "chance": 96, "repeat": [ 5, 12 ] },
364 { "item": "mansion_books", "x": [ 3, 12 ], "y": [ 8, 9 ], "chance": 40, "repeat": [ 1, 6 ] },
data/mods/Urban_Development/building_jsons/urban_41_library.json
Showing the top two matches Last indexed Apr 14, 2019
JSON
139 { "item": "novels", "x": [ 20, 23 ], "y": 1, "chance": 80, "repeat": [ 8, 16 ] },
140 { "item": "mansion_books", "x": [ 16, 20 ], "y": 7, "chance": 20, "repeat": [ 10, 20 ] },
141 { "item": "mansion_books", "x": [ 16, 20 ], "y": 10, "chance": 20, "repeat": [ 10, 20 ] }
data/mods/Magiclysm/itemgroups/itemgroups.json
Showing the top match Last indexed Jul 14, 2019
JSON
25 "items": [ { "group": "spellbook_loot_1", "prob": 3 }, [ "alchemy_basic", 3 ] ]
26 },
27 {
28 "type": "item_group",
29 "id": "mansion_books",
30 "items": [ { "group": "spellbook_loot_0", "prob": 6 }, [ "alchemy_basic", 10 ] ]
data/json/itemgroups/books.json
Showing the top match Last indexed Jul 13, 2019
JSON
518 { "group": "manuals", "prob": 1 }
519 ]
520 },
521 {
522 "id": "mansion_books",
523 "type": "item_group",
524 "//": "Those rich mansion people have all sorts of weird books.",
data/mods/Urban_Development/building_jsons/urban_33_hotel.json
Showing the top match Last indexed Jan 7, 2019
JSON
1491 "@": { "item": "magazines", "chance": 10 },
1492 "L": { "item": "jewelry_safe", "chance": 90 },
1493 "O": { "item": "mansion_books", "chance": 70 },
data/json/itemgroups/mansion.json
Showing the top match Last indexed Jun 18, 2019
JSON
272 "type": "item_group",
273 "subtype": "collection",
274 "groups": [
275 [ "novels", 40 ],
276 [ "mansion_books", 50 ],
You can’t perform that action at this time.