GitHub CLI to JJHub CLI Cheat Sheet
If you are transitioning from GitHub to JJHub, thejjhub CLI provides a familiarly designed interface tailored specifically for Jujutsu (jj) workflows and agentic teams.
Here is a quick translation guide from the GitHub CLI (gh) to the JJHub CLI (jjhub).
Authentication & Setup
| Action | GitHub CLI (gh) | JJHub CLI (jjhub) |
|---|---|---|
| Login | gh auth login | jjhub auth login |
| Logout | gh auth logout | jjhub auth logout |
| Check auth status | gh auth status | jjhub auth status |
Repository Management
| Action | GitHub CLI (gh) | JJHub CLI (jjhub) |
|---|---|---|
| Create a repo | gh repo create | jjhub repo create <name> |
| Clone a repo | gh repo clone <repo> | jjhub repo clone <repo> |
| List repos | gh repo list | jjhub repo list |
| View repo details | gh repo view | jjhub repo view |
Pull Requests / Landing Requests
JJHub uses Landing Requests (LRs) instead of Pull Requests, built native forjj stacked changes.
| Action | GitHub CLI (gh) | JJHub CLI (jjhub) |
|---|---|---|
| Create a PR / LR | gh pr create | jjhub land create |
| List open PRs / LRs | gh pr list | jjhub land list |
| View PR / LR | gh pr view <num> | jjhub land view <num> |
| Review PR / LR | gh pr review <num> | jjhub land review <num> |
| Merge PR / LR | gh pr merge <num> | jjhub land merge <num> |
| View CI checks | gh pr checks | jjhub land checks <num> |
Issue Tracking
| Action | GitHub CLI (gh) | JJHub CLI (jjhub) |
|---|---|---|
| Create an issue | gh issue create | jjhub issue create |
| List issues | gh issue list | jjhub issue list |
| View an issue | gh issue view <num> | jjhub issue view <num> |
| Close an issue | gh issue close <num> | jjhub issue close <num> |
Unique JJHub Commands
Because JJHub is built for agentic workflows andjj version control, the CLI includes features that do not have a direct GitHub equivalent:
- AI Agents: Interact with repository AI agents via
jjhub agent run <prompt>andjjhub agent chat <session>. - Workflows: Trigger CI/CD pipelines natively with
jjhub workflow run <id>andjjhub run watch <run-id>. - Local Changes: Operate on local
jjhistory withjjhub change listandjjhub bookmark list.