Skip to main content

GitHub CLI to JJHub CLI Cheat Sheet

If you are transitioning from GitHub to JJHub, the jjhub 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

ActionGitHub CLI (gh)JJHub CLI (jjhub)
Logingh auth loginjjhub auth login
Logoutgh auth logoutjjhub auth logout
Check auth statusgh auth statusjjhub auth status

Repository Management

ActionGitHub CLI (gh)JJHub CLI (jjhub)
Create a repogh repo createjjhub repo create <name>
Clone a repogh repo clone <repo>jjhub repo clone <repo>
List reposgh repo listjjhub repo list
View repo detailsgh repo viewjjhub repo view

Pull Requests / Landing Requests

JJHub uses Landing Requests (LRs) instead of Pull Requests, built native for jj stacked changes.
ActionGitHub CLI (gh)JJHub CLI (jjhub)
Create a PR / LRgh pr createjjhub land create
List open PRs / LRsgh pr listjjhub land list
View PR / LRgh pr view <num>jjhub land view <num>
Review PR / LRgh pr review <num>jjhub land review <num>
Merge PR / LRgh pr merge <num>jjhub land merge <num>
View CI checksgh pr checksjjhub land checks <num>

Issue Tracking

ActionGitHub CLI (gh)JJHub CLI (jjhub)
Create an issuegh issue createjjhub issue create
List issuesgh issue listjjhub issue list
View an issuegh issue view <num>jjhub issue view <num>
Close an issuegh issue close <num>jjhub issue close <num>

Unique JJHub Commands

Because JJHub is built for agentic workflows and jj 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> and jjhub agent chat <session>.
  • Workflows: Trigger CI/CD pipelines natively with jjhub workflow run <id> and jjhub run watch <run-id>.
  • Local Changes: Operate on local jj history with jjhub change list and jjhub bookmark list.