Jujutsu (JJ) is a version control tool that uses Git repositories as its storage layer while offering a simpler, more flexible workflow. Key differences from Git include no staging area (changes are automatically tracked), conflicts stored in commits for later resolution, automatic rebasing of descendant commits, and a focus on 'changes' rather than branches. The post walks through practical JJ commands including jj git init, jj describe, jj new, jj squash, jj abandon, and jj log, while introducing concepts like change ids vs commit ids, revsets, the Squash Workflow, and the Edit Workflow. The VisualJJ VSCode extension is also recommended for visualizing change history.

19m read timeFrom blog.codeminer42.com
Post cover image
Table of contents
But how did Jujutsu begin?But why give it a try?JJ vs GitNext stepsReferences
14 Comments

Sort: