Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Level 1

This level covers the essentials for simple, solo use cases, such as students tracking homework with Git.

The following "cheat sheet" contains the key commands from level 1. Use it to prime your brain before getting started and remind yourself later when you forget something.

cheat sheet

Configure your authorship information

jj config set --user user.name "Alice"
jj config set --user user.email "alice@local"

Initialize a repository

jj git init <DESTINATION>

Clone an existing repository

jj git clone <PATH_OR_URL> <DESTINATION>

Commit the changes you made

jj commit

Push your latest commit to the "main" bookmark

jj bookmark move main --to @-
jj git push