zc-workstationDocumentation PDF GitHub

GitHub CLI

gh, GitHub from the terminal: pull requests, issues, Actions and auth.

.md

gh handles the GitHub side of the work without a browser: opening and checking pull requests, watching CI and reading logs. It is also how git authenticates to GitHub.

On the workstation

  • Installed by the gh formula; bootstrap.sh logs you in on a new Mac.

Keys and commands

Key or command Does

prc prv prl

Create a pull request, open it in the browser, list them

gh run watch

Follow a CI run

aipr

Let Claude write the pull request, then open it

Edit this page Last updated

Keyboard shortcuts

Ctrl/⌘ K or /
Search the docs
↑ ↓ Enter
Move through the search results
← →
Previous or next page
f
Filter the pages in the sidebar
g h
Home
t
Cycle the theme
?
This list
Esc
Close a menu or the search results