← All Workshops

MudEngine Part 1: Requirements

Step 16 / 19

Initialize version control with jj

Now that we have a project directory, initialize jj for version control. This creates a .jj directory that tracks all future changes.

Throughout the workshop series, before each code step you will:

  1. Run jj new — create a new empty change on top of the current one
  2. Run jj describe -m "Step N: what we are about to do" — label the change

After completing a step, run jj log to see your checkpoint history. This lets you replay how the app was built, one step at a time.

Initialize jj
jj init
Verify the setup
jj log
💡 Workflow tip

For the rest of this workshop and all subsequent parts, adopt this rhythm:

  1. Read the step title and content
  2. Run jj new to create a fresh checkpoint
  3. Run jj describe -m "Part X - Step Y: ..." to label it
  4. Follow the step instructions (copy code, run commands)
  5. Repeat for the next step

At the end of the workshop, jj log shows a clean history of every checkpoint.

Step 16 / 19