Jujutsu (JJ) is a version control system that uses Git as a backend but offers a different mental model. Unlike Git, JJ has no staging area—changes are automatically tracked, and you create commits first, then fill them with changes. The workflow emphasizes easy manipulation of commits through commands like rebase, squash, split, and edit. JJ maintains an immutable operation log that enables safe experimentation with undo/redo capabilities. It uses bookmarks instead of branches and integrates seamlessly with Git remotes, allowing teams to use Git while individuals use JJ. The author shares their most-used commands, custom configurations, and workflow patterns developed over three months of daily use.

14m read timeFrom abhinavsarkar.net
Post cover image
Table of contents
Starting UpCreating ChangesModifying ChangesViewing ChangesManaging BranchesManaging StateWorking with GitOther Useful CommandsCustom ConfigurationConclusion

Sort: