Skip to main content

Create Your First Repository

Create via CLI

jjhub repo create my-project --description "My first JJHub project"
By default, repositories are public (open source focus). To create a private repo:
jjhub repo create my-private-project --private

Clone a Repository

Use the jjhub repo clone command to clone a repository and set up jj:
jjhub repo clone username/my-project
cd my-project
You can also clone with a full URL or specify a target directory:
jjhub repo clone username/my-project ./my-local-dir

List Your Repositories

jjhub repo list
Limit the number of results:
jjhub repo list --limit 10

View Repository Details

View the current repository (or specify one):
jjhub repo view
jjhub repo view --repo username/my-project

Working with jj

Once cloned, you work with your repo using jj commands:
# Edit files, then describe your change
jj describe -m "Add feature X"

# Create a new change on top of the current one
jj new -m "Follow-up improvement"

# Push to JJHub
jj git push
See the jj Concepts Guide for a full introduction to working with Jujutsu.

Next Steps