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

Hello, world!

Let’s create a new repository with jj, and show off some basic commands. Here’s what we’re going to learn:

  • How to install jj
  • Creating a repository with jj git init
  • Viewing the current status with jj st
  • Using jj describe to describe our commits in a human-friendly way
  • Using jj new to create new changes
  • Viewing the contents of your repository with jj log
  • Seeing what changed with jj diff and jj show
  • Which files jj tracks, and how to ignore the rest