Show Menu
Cheatography

Github Search Syntax Cheat Sheet (DRAFT) by

Quick Reference for Github Search Syntax

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Search Syntax

Operators
Notes
<, <=, >, >=
Value compar­isons
n..*, *..n, n..n
Range compar­isons
NOT QUALIFIER
-QUALIFIER
Exclude the quali­fier
"­dou­ble­-qu­ote­s"
Surrounds white-­space phrases
All query inputs are ANDed together, so "­cats dogs" as the search input would match anywhere in the title, body or comment which had both "­cat­s" AND "­dog­s" in the match.

Dates follow ISO8601 such as (year-­mon­th-day)

Links

 

Limit Results (General)

Prefix
Qualifier
is:, type:
pr, issue, public, private
in:
title, body, comments
user:, org:
NAME
repo:
USER/­REPO
author:
USER, app/name
langu­age:
LANG
no:
label, milestone, assignee, project