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

Tutorial Structure

This tutorial is divided into levels. It's recommended to practice what you've learned after each level before moving on.

If you're collaborating with others, please complete levels 1 and 2.

LevelDescription
1The basics for solo projects.
2The basics for collaboration.
3Undoing mistakes, resolving merge conflicts, and restoring files.

Resetting Your Progress

This tutorial builds an example repository. Chapters build on previous ones. If you get stuck or want to start a chapter fresh, you can use a reset script.

Each chapter provides the exact command to reset to its beginning. For example:

Reset your progress

To reset your progress to the start of this chapter, run the following command:

curl https://s2p2.github.io/jj-for-everyone/reset.sh | bash -s install

If you prefer not to run a script directly from the internet, you can download it, inspect it, and run it locally.