Reference

Cheat Sheet

The commands you keep forgetting, with a one-line description and a real example you can copy - 384 across 26 tools. Pick a tool in the sidebar, or search across all of them.

GitHub CLI (gh)

Do GitHub from the terminal - PRs, issues, repos, releases, CI.
CommandWhat it doesExample
gh auth loginSign in to GitHub.gh auth login
gh repo cloneClone a repository.gh repo clone cli/cli
gh repo createCreate a new repository.gh repo create myapp --public
gh repo viewView a repo (--web opens the browser).gh repo view --web
gh pr createOpen a pull request.gh pr create --fill
gh pr listList open pull requests.gh pr list
gh pr checkoutCheck out a PR branch locally.gh pr checkout 42
gh pr mergeMerge a pull request.gh pr merge 42 --squash
gh issue createOpen an issue.gh issue create --title "Login bug"
gh issue listList issues, filtered.gh issue list --label bug
gh release createCut a release with notes.gh release create v1.2.0 --generate-notes
gh run listList recent CI runs.gh run list
gh run watchWatch a CI run live.gh run watch