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

It’s History All The Way Down

Important

  • You discover a meta-repository where every commit has its own history

  • You find out that everything you do with jj is safely tracked.

Back to The Start

For the next sections, you need a fresh copy of the repo you cloned before. There are at least two ways to get it.

  1. Re-clone.

  2. Or, keep running jj undo until you reach the state right after executing jj git remote remove origin.

Which begs the question: where do undo and redo fetch their information from? The next few pages shed light on this, which will give you a 3rd option.

So, hold on a second before restarting from the scratch.