SlideShare a Scribd company logo
The Big List of GitHub Search Operators
Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com
Sofia Broberger me@sofiabroberger.se sofiabroberger.se
Operator Use for Example
archived:
archived:false
Issues &
Pull requests
archived:false GNOME
matches issues and pull requests that contain the word "GNOME" in unarchived repositories you
have access to.
archived:false Repositories
archived:false GNOME
matches repositories that are not archived and contain the word "GNOME."
archived:true
Issues &
Pull requests
archived:true GNOME
matches issues and pull requests that contain the word "GNOME" in archived repositories you have
access to.
archived:true Repositories
archived:true GNOME
matches repositories that are archived and contain the word "GNOME."
asignee:
assignee:USERNAME
Issues &
Pull requests
assignee:vmg repo:libgit2/libgit2
matches issues and pull requests in libgit2's project libgit2 that are assigned to @vmg.
author-date:
author-date:YYYY-MM-DD Commits
author-date:<2016-01-01
matches commits authored before 2016-01-01.
author-email:
author-email:EMAIL Commits
author-email:chris@github.com
matches commits authored by chris@github.com.
author-name:
author-name:NAME Commits
author-name:wanstrath
matches commits with "wanstrath" in the author name.
author:
author:app/USERNAME
Issues &
Pull requests
author:app/robot
matches issues created by the integration account named "robot."
author:USERNAME Commits
author:defunkt
matches commits authored by @defunkt.
author:USERNAME
Issues &
Pull requests
cool author:gjtorikian
matches issues and pull requests with the word "cool" that were created by @gjtorikian.
bootstrap in:body author:mdo
matches issues written by @mdo that contain the word "bootstrap" in the body.
base:
base:BASE_BRANCH
Issues &
Pull requests
base:gh-pages
matches pull requests that are being merged into the gh-pages branch.
closed:
closed:YYYY-MM-DD
Issues &
Pull requests
language:swift closed:>2014-06-11
matches issues and pull requests in Swift that were closed after June 11, 2014.
comment:
commenter:USERNAME
Issues &
Pull requests
github commenter:defunkt org:github
matches issues in repositories owned by GitHub, that contain the word "github," and have a
comment by @defunkt.
comments:n
Issues &
Pull requests
state:closed comments:>100
matches closed issues with more than 100 comments.
comments:500..1000
matches issues with comments ranging from 500 to 1,000.
The Big List of GitHub Search Operators
Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com
Sofia Broberger me@sofiabroberger.se sofiabroberger.se
committer-date:
committer-date:YYYY-MM-DD Commits
committer-date:>2016-01-01
matches commits committed after 2016-01-01.
committer-email:
committer-email:EMAIL Commits
committer-email:chris@github.com
matches commits committed by chris@github.com.
committer-name:
committer-name:NAME Commits
committer-name:wanstrath
matches commits with "wanstrath" in the committer name.
committer:
committer:USERNAME Commits
committer:defunkt
matches commits committed by @defunkt.
created:
created:YYYY-MM-DD
Issues &
Pull requests
language:c# created:<2011-01-01 state:open
matches open issues that were created before 2011 in repositories written in C#.
created:YYYY-MM-DD Repositories
webos created:<2011-01-01
matches repositories with the word "webos" that were created before 2011.
created:YYYY-MM-DD Users
created:<2011-01-01
matches users that joined before 2011.
created:>=2013-05-11
matches users that joined at or after May 11th, 2013.
created:2013-03-06 location:london
matches users that joined on March 6th, 2013, who list their location as London.
created:2010-01-01..2011-01-01 john in:login
matches users that joined between 2010 and 2011 with the word "john" in their username.
extension:
extension:EXTENSION Code
form path:cgi-bin extension:pm
matches code with the word "form," under cgi-bin , with the .pm file extension.
extension:EXTENSION Code
icon size:>200000 extension:css
matches files larger than 200 KB that end in .css and have the word "icon."
filename:
filename:FILENAME Code
filename:linguist
matches files named "linguist."
filename:.vimrc commands
matches .vimrcfiles with the word "commands."
filename:test_helper path:test language:ruby
matches Ruby files named test_helper within the test directory.
followers:
followers:n Users
followers:>=1000
matches users with 1,000 or more followers.
sparkle followers:1..10
matches users with between 1 and 10 followers, with the word "sparkle" in their name.
The Big List of GitHub Search Operators
Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com
Sofia Broberger me@sofiabroberger.se sofiabroberger.se
fork:
fork:only Code
github fork:only
matches all fork repositories containing the word "github."
forks:>500 fork:only
matches repositories with more than 500 forks, and only returns those that are forks.
fork:only Repositories
github fork:only
matches all fork repositories containing the word "github."
forks:>500 fork:only
matches repositories with more than 500 forks, and only returns those that are forks.
fork:true Code
github fork:true
matches all repositories containing the word "github," including forks.
android language:java fork:true
matches code with the word "android" that's written in Java, in both forks and regular repositories.
fork:true Repositories
android language:java fork:true
matches code with the word "android" that's written in Java, in both forks and regular repositories.
fork:true Repositories
github fork:true
matches all repositories containing the word "github," including forks.
forks:n Repositories
forks:5
matches repositories with only five forks.
forks:>=205
matches repositories with at least 205 forks.
forks:<90
matches repositories with fewer than 90 forks.
forks:10..20
matches repositories with 10 to 20 forks.
good-first-issues:
good-first-issues:>n Repositories
good-first-issues:>2 javascript
matches repositories with more than two issues labeled good-first-issue and that contain the word
"javascript."
hash:
hash:HASH Commits
hash:124a9a0ee1d8f1e15e833aff432fbb3b02632105
matches commits with the hash 124a9a0ee1d8f1e15e833aff432fbb3b02632105.
head:
head:HEAD_BRANCH
Issues & Pull
requests
head:change is:closed is:unmerged
matches pull requests opened from branch names containing the word "change" that are closed.
help-wanted-issues:
help-wanted-issues:>n Repositories
help-wanted-issues:>4 react
matches repositories with more than four issues labeled help-wanted and that contain the word
"React."
in:
in:body
Issues &
Pull requests
data in:body closed:<2012-10-01
matches issues and pull requests with the word "data" in the body that were closed before October
2012.
in:body
Issues &
Pull requests
error in:title,body
matches issues with "error" in their title or body.
The Big List of GitHub Search Operators
Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com
Sofia Broberger me@sofiabroberger.se sofiabroberger.se
in:body Wikis
installation in:body
matches wiki pages with the word "installation" in their main body text.
in:comments
Issues &
Pull requests
shipit in:comments
matches issues mentioning "shipit" in their comments.
in:description Repositories
jquery in:name,description
matches repositories with "jquery" in their name or description.
in:email Users
data in:email
matches users with the word "data" in their email.
in:file Code
octocat in:file
matches code where "octocat" appears in the file contents.
in:fullname Users
bolton in:fullname
matches users whose real name contains the word "bolton."
in:login Users
kenya in:login
matches users with the word "kenya" in their username.
in:name Repositories
jquery in:name
matches repositories with "jquery" in their name.
in:path Code
octocat in:path
matches code where "octocat" appears in the file path.
octocat in:file,path
matches code where "octocat" appears in the file contents or the file path.
in:readme Repositories
jquery in:readme
matches repositories mentioning "jquery" in their README file.
octocat in:readme
matches repositories mentioning ""octocat"" in their README file.
in:title
Issues &
Pull requests
fast in:title language:ruby merged:>=2014-05-01
matches pull requests in Ruby with the word "fast" in the title that were merged after May 2014.
in:title
Issues &
Pull requests
warning in:title
matches issues with "warning" in their title.
in:title Wikis
usage in:title
matches wiki page titles with the word "usage."
involves:
involves:USERNAME
Issues &
Pull requests
involves:defunkt involves:jlord
matches issues either @defunkt or @jlord are involved in.
NOT bootstrap in:body involves:mdo
matches issues @mdo is involved in that do not contain the word "bootstrap" in the body.
is:
is:closed
Issues &
Pull requests
android is:closed
matches closed issues and pull requests with the word "android."
is:curated Topics
is:curated javascript
matches topics that are curated and contain the word "javascript."
is:draft
Issues &
Pull requests
is:draft
matches draft pull requests.
is:featured Topics
is:featured javascript
matches topics that are featured on https://github.com/topics/ and contain the word "javascript."
is:issue
Issues &
Pull requests
is:issue label:bug is:closed
matches closed issues with the label "bug."
is:locked
Issues &
Pull requests
code of conduct is:locked is:issue archived:false
matches issues or pull requests with the words "code of conduct" that have a locked conversation
in a repository that is not archived.
The Big List of GitHub Search Operators
Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com
Sofia Broberger me@sofiabroberger.se sofiabroberger.se
is:merged
Issues &
Pull requests
bugfix is:pr is:merged
matches merged pull requests with the word "bugfix."
is:not-curated Topics
is:not-curated javascript
matches topics that don't have extra information, such as a description or logo, and contain the
word "javascript."
is:not-featured Topics
is:not-featured javascript
matches topics that aren't featured on https://github.com/topics/and contain the word "javascript."
is:open
Issues &
Pull requests
performance is:open is:issue
matches open issues with the word "performance."
is:pr
Issues &
Pull requests
event is:pr
matches pull requests with the word "event."
is:private Commits
is:private
matches private commits
is:private
Issues &
Pull requests
is:private cupcake
matches issues and pull requests that contain the word "cupcake" in private repositories you have
access to.
is:private Repositories
is:private pages
matches private repositories you have access to and that contain the word "pages."
is:public Commits
is:public
matches public commits.
is:public
Issues &
Pull requests
is:public
matches issues and pull requests in all public repositories.
is:public Repositories
is:public org:github
matches repositories owned by GitHub that are public.
is:unlocked
Issues &
Pull requests
code of conduct is:unlocked is:issue archived:false
matches issues or pull requests with the words "code of conduct" that have an unlocked
conversation in a repository that is not archived.
is:unmerged
Issues &
Pull requests
error is:unmerged
matches closed issues and pull requests with the word "error."
label:
label:LABEL
Issues &
Pull requests
label:"help wanted" language:ruby
matches issues with the label "help wanted" that are in Ruby repositories.
broken in:body -label:bug label:priority
matches issues with the word "broken" in the body, that lack the label "bug", but do have the label
"priority."
label:bug label:resolved
matches issues with the labels "bug" and "resolved."
language:
language:LANGUAGE Code
element language:xml size:100
matches code with the word "element" that's marked as being XML and has exactly 100 bytes.
display language:scss
matches code with the word "display," that's marked as being SCSS.
org:mozilla language:markdown
matches code from all @mozilla's repositories that's marked as Markdown.
language:LANGUAGE
Issues &
Pull requests
language:ruby state:open
matches open issues that are in Ruby repositories.
language:LANGUAGE Repositories
rails language:javascript
matches repositories with the word "rails" that are written in JavaScript.
The Big List of GitHub Search Operators
Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com
Sofia Broberger me@sofiabroberger.se sofiabroberger.se
language:LANGUAGE Users
language:javascript location:russia
matches users in Russia with a majority of their repositories written in JavaScript.
jenny language:javascript in:fullname
matches users with JavaScript repositories whose full name contains the word "jenny."
license:
license:LICENSE_KEYWORD Repositories
license:apache-2.0
matches repositories that are licensed under Apache License 2.0.
location:
location:LOCATION Users
repos:1 location:iceland
matches users with exactly one repository that live in Iceland.
mentions:
mentions:USERNAME
Issues &
Pull requests
resque mentions:defunkt
matches issues with the word "resque" that mention @defunkt.
merge:
merge:false Commits
merge:false
matches non-merge commits
merge:true Commits
merge:true
matches merge commits.
merged:
merged:YYYY-MM-DD
Issues &
Pull requests
language:javascript merged:<2011-01-01
matches pull requests in JavaScript repositories that were merged before 2011.
milestone:
milestone:MILESTONE
Issues &
Pull requests
milestone:"overhaul"
matches issues that are in a milestone named "overhaul."
milestone:"bug fix"
matches issues that are in a milestone named "bug fix."
mirror:
mirror:false Repositories
mirror:false GNOME
matches repositories that are not mirrors and contain the word "GNOME."
mirror:true Repositories
mirror:true GNOME
matches repositories that are mirrors and contain the word "GNOME."
no:
no:assignee
Issues &
Pull requests
important no:assignee language:java type:issue
matches issues not associated with an assignee, containing the word "important," and in Java
repositories.
no:label
Issues &
Pull requests
priority no:label
matches issues and pull requests with the word "priority" that also don't have any labels.
no:milestone
Issues &
Pull requests
sprint no:milestone type:issue
matches issues not associated with a milestone containing the word "sprint."
no:project
Issues &
Pull requests
build no:project
matches issues not associated with a project board, containing the word "build."
org:
org:ORGNAME Code
org:github extension:js
matches code from GitHub that ends in .js .
org:ORGNAME Commits
test org:github
matches commit messages with the word "test" in repositories owned by @github.
The Big List of GitHub Search Operators
Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com
Sofia Broberger me@sofiabroberger.se sofiabroberger.se
org:ORGNAME
Issues &
Pull requests
org:github
matches issues in repositories owned by the GitHub organization.
org:ORGNAME Repositories
org:github
matches repositories from GitHub.
org:ORGNAME Wikis
org:github
matches wikis in repositories owned by the GitHub organization.
parent:
parent:HASH Commits
parent:124a9a0ee1d8f1e15e833aff432fbb3b02632105
matches children of commits with the hash 124a9a0ee1d8f1e15e833aff432fbb3b02632105
path:
path:/ Code
octocat filename:readme path:/
matches readme files with the word "octocat" that are located at the root level of a repository.
path:DIRECTORY Code
form path:cgi-bin language:perl
matches Perl files with the word "form" in a cgi-bindirectory, or in any of its subdirectories.
path:PATH/TO/DIRECTORY Code
console path:app/public language:javascript
matches JavaScript files with the word "console" in an app/public directory, or in any of its
subdirectories (even if they reside inapp/public/js/form-validators ).
project:
project:PROJECT_BOARD
Issues &
Pull requests
project:github/57
matches issues owned by GitHub that are associated with the organization's project board 57.
project:REPOSITORY/PROJECT_BOARD
Issues &
Pull requests
project:github/linguist/1
matches issues that are associated with project board 1 in @github's linguist repository.
pushed:
pushed:YYYY-MM-DD Repositories
css pushed:>2013-02-01
matches repositories with the word "css" that were pushed to after January 2013.
case pushed:>=2013-03-06 fork:only
matches repositories with the word "case" that were pushed to on or after March 6th, 2013, and
that are forks.
repo:
repo:USERNAME/REPO Commits
language repo:defunkt/gibberish
matches commit messages with the word "language" in @defunkt's "gibberish" repository.
repo:USERNAME/REPOSITORY Code
repo:mozilla/shumway extension:as
matches code from @mozilla's shumway project that ends in .as .
repo:USERNAME/REPOSITORY
Issues &
Pull requests
repo:mozilla/shumway created:<2012-03-01
matches issues from @mozilla's shumway project that were created before March 2012.
repo:USERNAME/REPOSITORY Wikis
repo:defunkt/gibberish
matches wiki pages from @defunkt's "gibberish" repository.
repos:
repos:n Users
repos:>9000
matches users whose repository count is over 9,000.
bert repos:10..30
matches users with the word "bert" in their username or real name who own 10 to 30 repositories.
review-requested:
review-requested:USERNAME
Issues &
Pull requests
type:pr review-requested:benbalter
matches pull requests where a specific person is requested for review. Requested reviewers are no
longer listed in the search results after they review a pull request. If the requested person is on a
team that is requested for review, then review requests for that team will also appear in the search
results.
review:
The Big List of GitHub Search Operators
Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com
Sofia Broberger me@sofiabroberger.se sofiabroberger.se
review:approved
Issues &
Pull requests
type:pr review:approved
matches pull requests that a reviewer has approved.
review:changes_requested
Issues &
Pull requests
type:pr review:changes_requested
matches pull requests in which a reviewer has asked for changes.
review:none
Issues &
Pull requests
type:pr review:none
matches pull requests that have not been reviewed.
review:required
Issues &
Pull requests
type:pr review:required
matches pull requests that require a review before they can be merged.
reviewed-by:
reviewed-by:USERNAME
Issues &
Pull requests
type:pr reviewed-by:gjtorikian
matches pull requests reviewed by a particular person.
SHA
SHA
Issues &
Pull requests
e1109ab
matches pull requests with a commit SHA that starts with e1109ab.
0eff326d6213c is:merged
matches merged pull requests with a commit SHA that starts with 0eff326d6213c.
size:
size:n Code
function size:>10000 language:python
matches code with the word "function," written in Python, in files that are larger than 10 KB.
size:n Repositories
size:1000
matches repositories that are 1 MB exactly.
size:>=30000
matches repositories that are at least 30 MB.
size:<50
matches repositories that are smaller than 50 KB.
size:50..120
matches repositories that are between 50 KB and 120 KB.
size:>=30000
matches repositories that are at least 30 MB.
size:<50
matches repositories that are smaller than 50 KB.
size:50..120
matches repositories that are between 50 KB and 120 KB.
stars:
stars:n Repositories
stars:500
matches repositories with exactly 500 stars.
stars:10..20
matches repositories 10 to 20 stars, that are smaller than 1000 KB.
stars:>=500 fork:true language:php
matches repositories with the at least 500 stars, including forked ones, that are written in PHP.
state:
state:closed
Issues &
Pull requests
design state:closed in:body
matches closed issues with the word "design" in the body.
state:open
Issues &
Pull requests
libraries state:open mentions:vmg
matches open issues that mention @vmg with the word "libraries."
status:
The Big List of GitHub Search Operators
Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com
Sofia Broberger me@sofiabroberger.se sofiabroberger.se
status:failure
Issues &
Pull requests
created:2015-05-01..2015-05-30 status:failure
matches pull requests opened on May 2015 with a failed status.
status:pending
Issues &
Pull requests
language:go status:pending
matches pull requests opened into Go repositories where the status is pending.
status:success
Issues &
Pull requests
is:open status:success finally in:body
matches open pull requests with the word "finally" in the body with a successful status.
team-review-requested:
team-review-requested:TEAMNAME
Issues &
Pull requests
type:pr review-requested:atom/design
matches pull requests that have review requests from the team atom/design. Requested reviewers
are no longer listed in the search results after they review a pull request.
team:
team:ORGNAME/TEAMNAME
Issues &
Pull requests
team:jekyll/owners
matches issues where the @jekyll/owners team is mentioned.
team:myorg/ops is:open is:pr
matches open pull requests where the @myorg/ops team is mentioned.
topic:
topic:TOPIC Repositories
topic:jekyll
matches repositories that have been classified with the topic "jekyll."
tree:
tree:HASH Commits
tree:99ca967
matches commits that refer to the tree hash 99ca967
type:
type:issue
Issues &
Pull requests
github commenter:defunkt type:issue
matches issues that contain the word "github," and have a comment by @defunkt.
type:org Users
data in:email type:org
matches organizations with the word "data" in their email.
type:pr
Issues &
Pull requests
cat type:pr
matches pull requests with the word "cat."
type:user Users
mike in:name created:<2011-01-01 type:user
matches personal accounts named "mike" that were created before 2011.
updated:
updated:YYYY-MM-DD
Issues &
Pull requests
weird in:body updated:>=2013-02-01
matches issues with the word "weird" in the body that were updated after February 2013.
updated:YYYY-MM-DD Wikis
usage updated:>2016-01-01
matches wiki pages with the word "usage" that were last updated after 2016-01-01.
user:
user:USERNAME Code
user:defunkt extension:rb
matches code from @defunkt that ends in .rb .
user:USERNAME Commits
gibberish user:defunkt
matches commit messages with the word "gibberish" in repositories owned by @defunkt.
user:USERNAME
Issues &
Pull requests
user:defunkt ubuntu
matches issues with the word "ubuntu" from repositories owned by @defunkt.
user:USERNAME Repositories
user:defunkt forks:>100
matches repositories from @defunkt that have more than 100 forks.
user:USERNAME Wikis
user:defunkt
matches wiki pages from repositories owned by @defunkt.

More Related Content

The BIG List of GitHub Search Operators

  • 1. The Big List of GitHub Search Operators Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com Sofia Broberger me@sofiabroberger.se sofiabroberger.se Operator Use for Example archived: archived:false Issues & Pull requests archived:false GNOME matches issues and pull requests that contain the word "GNOME" in unarchived repositories you have access to. archived:false Repositories archived:false GNOME matches repositories that are not archived and contain the word "GNOME." archived:true Issues & Pull requests archived:true GNOME matches issues and pull requests that contain the word "GNOME" in archived repositories you have access to. archived:true Repositories archived:true GNOME matches repositories that are archived and contain the word "GNOME." asignee: assignee:USERNAME Issues & Pull requests assignee:vmg repo:libgit2/libgit2 matches issues and pull requests in libgit2's project libgit2 that are assigned to @vmg. author-date: author-date:YYYY-MM-DD Commits author-date:<2016-01-01 matches commits authored before 2016-01-01. author-email: author-email:EMAIL Commits author-email:chris@github.com matches commits authored by chris@github.com. author-name: author-name:NAME Commits author-name:wanstrath matches commits with "wanstrath" in the author name. author: author:app/USERNAME Issues & Pull requests author:app/robot matches issues created by the integration account named "robot." author:USERNAME Commits author:defunkt matches commits authored by @defunkt. author:USERNAME Issues & Pull requests cool author:gjtorikian matches issues and pull requests with the word "cool" that were created by @gjtorikian. bootstrap in:body author:mdo matches issues written by @mdo that contain the word "bootstrap" in the body. base: base:BASE_BRANCH Issues & Pull requests base:gh-pages matches pull requests that are being merged into the gh-pages branch. closed: closed:YYYY-MM-DD Issues & Pull requests language:swift closed:>2014-06-11 matches issues and pull requests in Swift that were closed after June 11, 2014. comment: commenter:USERNAME Issues & Pull requests github commenter:defunkt org:github matches issues in repositories owned by GitHub, that contain the word "github," and have a comment by @defunkt. comments:n Issues & Pull requests state:closed comments:>100 matches closed issues with more than 100 comments. comments:500..1000 matches issues with comments ranging from 500 to 1,000.
  • 2. The Big List of GitHub Search Operators Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com Sofia Broberger me@sofiabroberger.se sofiabroberger.se committer-date: committer-date:YYYY-MM-DD Commits committer-date:>2016-01-01 matches commits committed after 2016-01-01. committer-email: committer-email:EMAIL Commits committer-email:chris@github.com matches commits committed by chris@github.com. committer-name: committer-name:NAME Commits committer-name:wanstrath matches commits with "wanstrath" in the committer name. committer: committer:USERNAME Commits committer:defunkt matches commits committed by @defunkt. created: created:YYYY-MM-DD Issues & Pull requests language:c# created:<2011-01-01 state:open matches open issues that were created before 2011 in repositories written in C#. created:YYYY-MM-DD Repositories webos created:<2011-01-01 matches repositories with the word "webos" that were created before 2011. created:YYYY-MM-DD Users created:<2011-01-01 matches users that joined before 2011. created:>=2013-05-11 matches users that joined at or after May 11th, 2013. created:2013-03-06 location:london matches users that joined on March 6th, 2013, who list their location as London. created:2010-01-01..2011-01-01 john in:login matches users that joined between 2010 and 2011 with the word "john" in their username. extension: extension:EXTENSION Code form path:cgi-bin extension:pm matches code with the word "form," under cgi-bin , with the .pm file extension. extension:EXTENSION Code icon size:>200000 extension:css matches files larger than 200 KB that end in .css and have the word "icon." filename: filename:FILENAME Code filename:linguist matches files named "linguist." filename:.vimrc commands matches .vimrcfiles with the word "commands." filename:test_helper path:test language:ruby matches Ruby files named test_helper within the test directory. followers: followers:n Users followers:>=1000 matches users with 1,000 or more followers. sparkle followers:1..10 matches users with between 1 and 10 followers, with the word "sparkle" in their name.
  • 3. The Big List of GitHub Search Operators Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com Sofia Broberger me@sofiabroberger.se sofiabroberger.se fork: fork:only Code github fork:only matches all fork repositories containing the word "github." forks:>500 fork:only matches repositories with more than 500 forks, and only returns those that are forks. fork:only Repositories github fork:only matches all fork repositories containing the word "github." forks:>500 fork:only matches repositories with more than 500 forks, and only returns those that are forks. fork:true Code github fork:true matches all repositories containing the word "github," including forks. android language:java fork:true matches code with the word "android" that's written in Java, in both forks and regular repositories. fork:true Repositories android language:java fork:true matches code with the word "android" that's written in Java, in both forks and regular repositories. fork:true Repositories github fork:true matches all repositories containing the word "github," including forks. forks:n Repositories forks:5 matches repositories with only five forks. forks:>=205 matches repositories with at least 205 forks. forks:<90 matches repositories with fewer than 90 forks. forks:10..20 matches repositories with 10 to 20 forks. good-first-issues: good-first-issues:>n Repositories good-first-issues:>2 javascript matches repositories with more than two issues labeled good-first-issue and that contain the word "javascript." hash: hash:HASH Commits hash:124a9a0ee1d8f1e15e833aff432fbb3b02632105 matches commits with the hash 124a9a0ee1d8f1e15e833aff432fbb3b02632105. head: head:HEAD_BRANCH Issues & Pull requests head:change is:closed is:unmerged matches pull requests opened from branch names containing the word "change" that are closed. help-wanted-issues: help-wanted-issues:>n Repositories help-wanted-issues:>4 react matches repositories with more than four issues labeled help-wanted and that contain the word "React." in: in:body Issues & Pull requests data in:body closed:<2012-10-01 matches issues and pull requests with the word "data" in the body that were closed before October 2012. in:body Issues & Pull requests error in:title,body matches issues with "error" in their title or body.
  • 4. The Big List of GitHub Search Operators Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com Sofia Broberger me@sofiabroberger.se sofiabroberger.se in:body Wikis installation in:body matches wiki pages with the word "installation" in their main body text. in:comments Issues & Pull requests shipit in:comments matches issues mentioning "shipit" in their comments. in:description Repositories jquery in:name,description matches repositories with "jquery" in their name or description. in:email Users data in:email matches users with the word "data" in their email. in:file Code octocat in:file matches code where "octocat" appears in the file contents. in:fullname Users bolton in:fullname matches users whose real name contains the word "bolton." in:login Users kenya in:login matches users with the word "kenya" in their username. in:name Repositories jquery in:name matches repositories with "jquery" in their name. in:path Code octocat in:path matches code where "octocat" appears in the file path. octocat in:file,path matches code where "octocat" appears in the file contents or the file path. in:readme Repositories jquery in:readme matches repositories mentioning "jquery" in their README file. octocat in:readme matches repositories mentioning ""octocat"" in their README file. in:title Issues & Pull requests fast in:title language:ruby merged:>=2014-05-01 matches pull requests in Ruby with the word "fast" in the title that were merged after May 2014. in:title Issues & Pull requests warning in:title matches issues with "warning" in their title. in:title Wikis usage in:title matches wiki page titles with the word "usage." involves: involves:USERNAME Issues & Pull requests involves:defunkt involves:jlord matches issues either @defunkt or @jlord are involved in. NOT bootstrap in:body involves:mdo matches issues @mdo is involved in that do not contain the word "bootstrap" in the body. is: is:closed Issues & Pull requests android is:closed matches closed issues and pull requests with the word "android." is:curated Topics is:curated javascript matches topics that are curated and contain the word "javascript." is:draft Issues & Pull requests is:draft matches draft pull requests. is:featured Topics is:featured javascript matches topics that are featured on https://github.com/topics/ and contain the word "javascript." is:issue Issues & Pull requests is:issue label:bug is:closed matches closed issues with the label "bug." is:locked Issues & Pull requests code of conduct is:locked is:issue archived:false matches issues or pull requests with the words "code of conduct" that have a locked conversation in a repository that is not archived.
  • 5. The Big List of GitHub Search Operators Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com Sofia Broberger me@sofiabroberger.se sofiabroberger.se is:merged Issues & Pull requests bugfix is:pr is:merged matches merged pull requests with the word "bugfix." is:not-curated Topics is:not-curated javascript matches topics that don't have extra information, such as a description or logo, and contain the word "javascript." is:not-featured Topics is:not-featured javascript matches topics that aren't featured on https://github.com/topics/and contain the word "javascript." is:open Issues & Pull requests performance is:open is:issue matches open issues with the word "performance." is:pr Issues & Pull requests event is:pr matches pull requests with the word "event." is:private Commits is:private matches private commits is:private Issues & Pull requests is:private cupcake matches issues and pull requests that contain the word "cupcake" in private repositories you have access to. is:private Repositories is:private pages matches private repositories you have access to and that contain the word "pages." is:public Commits is:public matches public commits. is:public Issues & Pull requests is:public matches issues and pull requests in all public repositories. is:public Repositories is:public org:github matches repositories owned by GitHub that are public. is:unlocked Issues & Pull requests code of conduct is:unlocked is:issue archived:false matches issues or pull requests with the words "code of conduct" that have an unlocked conversation in a repository that is not archived. is:unmerged Issues & Pull requests error is:unmerged matches closed issues and pull requests with the word "error." label: label:LABEL Issues & Pull requests label:"help wanted" language:ruby matches issues with the label "help wanted" that are in Ruby repositories. broken in:body -label:bug label:priority matches issues with the word "broken" in the body, that lack the label "bug", but do have the label "priority." label:bug label:resolved matches issues with the labels "bug" and "resolved." language: language:LANGUAGE Code element language:xml size:100 matches code with the word "element" that's marked as being XML and has exactly 100 bytes. display language:scss matches code with the word "display," that's marked as being SCSS. org:mozilla language:markdown matches code from all @mozilla's repositories that's marked as Markdown. language:LANGUAGE Issues & Pull requests language:ruby state:open matches open issues that are in Ruby repositories. language:LANGUAGE Repositories rails language:javascript matches repositories with the word "rails" that are written in JavaScript.
  • 6. The Big List of GitHub Search Operators Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com Sofia Broberger me@sofiabroberger.se sofiabroberger.se language:LANGUAGE Users language:javascript location:russia matches users in Russia with a majority of their repositories written in JavaScript. jenny language:javascript in:fullname matches users with JavaScript repositories whose full name contains the word "jenny." license: license:LICENSE_KEYWORD Repositories license:apache-2.0 matches repositories that are licensed under Apache License 2.0. location: location:LOCATION Users repos:1 location:iceland matches users with exactly one repository that live in Iceland. mentions: mentions:USERNAME Issues & Pull requests resque mentions:defunkt matches issues with the word "resque" that mention @defunkt. merge: merge:false Commits merge:false matches non-merge commits merge:true Commits merge:true matches merge commits. merged: merged:YYYY-MM-DD Issues & Pull requests language:javascript merged:<2011-01-01 matches pull requests in JavaScript repositories that were merged before 2011. milestone: milestone:MILESTONE Issues & Pull requests milestone:"overhaul" matches issues that are in a milestone named "overhaul." milestone:"bug fix" matches issues that are in a milestone named "bug fix." mirror: mirror:false Repositories mirror:false GNOME matches repositories that are not mirrors and contain the word "GNOME." mirror:true Repositories mirror:true GNOME matches repositories that are mirrors and contain the word "GNOME." no: no:assignee Issues & Pull requests important no:assignee language:java type:issue matches issues not associated with an assignee, containing the word "important," and in Java repositories. no:label Issues & Pull requests priority no:label matches issues and pull requests with the word "priority" that also don't have any labels. no:milestone Issues & Pull requests sprint no:milestone type:issue matches issues not associated with a milestone containing the word "sprint." no:project Issues & Pull requests build no:project matches issues not associated with a project board, containing the word "build." org: org:ORGNAME Code org:github extension:js matches code from GitHub that ends in .js . org:ORGNAME Commits test org:github matches commit messages with the word "test" in repositories owned by @github.
  • 7. The Big List of GitHub Search Operators Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com Sofia Broberger me@sofiabroberger.se sofiabroberger.se org:ORGNAME Issues & Pull requests org:github matches issues in repositories owned by the GitHub organization. org:ORGNAME Repositories org:github matches repositories from GitHub. org:ORGNAME Wikis org:github matches wikis in repositories owned by the GitHub organization. parent: parent:HASH Commits parent:124a9a0ee1d8f1e15e833aff432fbb3b02632105 matches children of commits with the hash 124a9a0ee1d8f1e15e833aff432fbb3b02632105 path: path:/ Code octocat filename:readme path:/ matches readme files with the word "octocat" that are located at the root level of a repository. path:DIRECTORY Code form path:cgi-bin language:perl matches Perl files with the word "form" in a cgi-bindirectory, or in any of its subdirectories. path:PATH/TO/DIRECTORY Code console path:app/public language:javascript matches JavaScript files with the word "console" in an app/public directory, or in any of its subdirectories (even if they reside inapp/public/js/form-validators ). project: project:PROJECT_BOARD Issues & Pull requests project:github/57 matches issues owned by GitHub that are associated with the organization's project board 57. project:REPOSITORY/PROJECT_BOARD Issues & Pull requests project:github/linguist/1 matches issues that are associated with project board 1 in @github's linguist repository. pushed: pushed:YYYY-MM-DD Repositories css pushed:>2013-02-01 matches repositories with the word "css" that were pushed to after January 2013. case pushed:>=2013-03-06 fork:only matches repositories with the word "case" that were pushed to on or after March 6th, 2013, and that are forks. repo: repo:USERNAME/REPO Commits language repo:defunkt/gibberish matches commit messages with the word "language" in @defunkt's "gibberish" repository. repo:USERNAME/REPOSITORY Code repo:mozilla/shumway extension:as matches code from @mozilla's shumway project that ends in .as . repo:USERNAME/REPOSITORY Issues & Pull requests repo:mozilla/shumway created:<2012-03-01 matches issues from @mozilla's shumway project that were created before March 2012. repo:USERNAME/REPOSITORY Wikis repo:defunkt/gibberish matches wiki pages from @defunkt's "gibberish" repository. repos: repos:n Users repos:>9000 matches users whose repository count is over 9,000. bert repos:10..30 matches users with the word "bert" in their username or real name who own 10 to 30 repositories. review-requested: review-requested:USERNAME Issues & Pull requests type:pr review-requested:benbalter matches pull requests where a specific person is requested for review. Requested reviewers are no longer listed in the search results after they review a pull request. If the requested person is on a team that is requested for review, then review requests for that team will also appear in the search results. review:
  • 8. The Big List of GitHub Search Operators Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com Sofia Broberger me@sofiabroberger.se sofiabroberger.se review:approved Issues & Pull requests type:pr review:approved matches pull requests that a reviewer has approved. review:changes_requested Issues & Pull requests type:pr review:changes_requested matches pull requests in which a reviewer has asked for changes. review:none Issues & Pull requests type:pr review:none matches pull requests that have not been reviewed. review:required Issues & Pull requests type:pr review:required matches pull requests that require a review before they can be merged. reviewed-by: reviewed-by:USERNAME Issues & Pull requests type:pr reviewed-by:gjtorikian matches pull requests reviewed by a particular person. SHA SHA Issues & Pull requests e1109ab matches pull requests with a commit SHA that starts with e1109ab. 0eff326d6213c is:merged matches merged pull requests with a commit SHA that starts with 0eff326d6213c. size: size:n Code function size:>10000 language:python matches code with the word "function," written in Python, in files that are larger than 10 KB. size:n Repositories size:1000 matches repositories that are 1 MB exactly. size:>=30000 matches repositories that are at least 30 MB. size:<50 matches repositories that are smaller than 50 KB. size:50..120 matches repositories that are between 50 KB and 120 KB. size:>=30000 matches repositories that are at least 30 MB. size:<50 matches repositories that are smaller than 50 KB. size:50..120 matches repositories that are between 50 KB and 120 KB. stars: stars:n Repositories stars:500 matches repositories with exactly 500 stars. stars:10..20 matches repositories 10 to 20 stars, that are smaller than 1000 KB. stars:>=500 fork:true language:php matches repositories with the at least 500 stars, including forked ones, that are written in PHP. state: state:closed Issues & Pull requests design state:closed in:body matches closed issues with the word "design" in the body. state:open Issues & Pull requests libraries state:open mentions:vmg matches open issues that mention @vmg with the word "libraries." status:
  • 9. The Big List of GitHub Search Operators Susanna Frazier me@ohsusannamarie.com ohsusannamarie.com Sofia Broberger me@sofiabroberger.se sofiabroberger.se status:failure Issues & Pull requests created:2015-05-01..2015-05-30 status:failure matches pull requests opened on May 2015 with a failed status. status:pending Issues & Pull requests language:go status:pending matches pull requests opened into Go repositories where the status is pending. status:success Issues & Pull requests is:open status:success finally in:body matches open pull requests with the word "finally" in the body with a successful status. team-review-requested: team-review-requested:TEAMNAME Issues & Pull requests type:pr review-requested:atom/design matches pull requests that have review requests from the team atom/design. Requested reviewers are no longer listed in the search results after they review a pull request. team: team:ORGNAME/TEAMNAME Issues & Pull requests team:jekyll/owners matches issues where the @jekyll/owners team is mentioned. team:myorg/ops is:open is:pr matches open pull requests where the @myorg/ops team is mentioned. topic: topic:TOPIC Repositories topic:jekyll matches repositories that have been classified with the topic "jekyll." tree: tree:HASH Commits tree:99ca967 matches commits that refer to the tree hash 99ca967 type: type:issue Issues & Pull requests github commenter:defunkt type:issue matches issues that contain the word "github," and have a comment by @defunkt. type:org Users data in:email type:org matches organizations with the word "data" in their email. type:pr Issues & Pull requests cat type:pr matches pull requests with the word "cat." type:user Users mike in:name created:<2011-01-01 type:user matches personal accounts named "mike" that were created before 2011. updated: updated:YYYY-MM-DD Issues & Pull requests weird in:body updated:>=2013-02-01 matches issues with the word "weird" in the body that were updated after February 2013. updated:YYYY-MM-DD Wikis usage updated:>2016-01-01 matches wiki pages with the word "usage" that were last updated after 2016-01-01. user: user:USERNAME Code user:defunkt extension:rb matches code from @defunkt that ends in .rb . user:USERNAME Commits gibberish user:defunkt matches commit messages with the word "gibberish" in repositories owned by @defunkt. user:USERNAME Issues & Pull requests user:defunkt ubuntu matches issues with the word "ubuntu" from repositories owned by @defunkt. user:USERNAME Repositories user:defunkt forks:>100 matches repositories from @defunkt that have more than 100 forks. user:USERNAME Wikis user:defunkt matches wiki pages from repositories owned by @defunkt.