Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

gh

GitHub CLI — the official command-line tool for GitHub.

referencedescription
authauthentication, login/logout, token, scopes, GHES
configconfiguration, environment variables, shell completion
reporepository create/clone/fork/view/edit/list/sync
prpull requests, create/list/view/merge/review
issueissues, create/list/view/edit/close, sub-issues
apiGraphQL, REST API, pagination, jq, templates
actionsworkflows, runs, caches, artifacts, watch
releasereleases, create/list/view/download/upload
extensionextensions, install/create/list/remove
secret-variablesecrets and variables, org/env/repo scope
searchsearch repos/issues/prs/code, filters, --web
gist-keysgists, GPG keys, SSH keys, labels, orgs, rulesets
browse-statusbrowse, status, codespaces
output-formattingJSON output, --jq, --template, Go templates