Technology1 min read

Jujutsu Primer

By · Published by Everything Blog

In short

Jujutsu operates directly on existing Git repositories by automatically synchronizing their states, letting users evaluate its feature set without a disruptive migration. It structures project history using commit IDs for static snapshots alongside stable change IDs that follow evolving revisions over time. To simplify day-to-day operations, the software plots the working copy as an "@" symbol directly onto the commit graph. Developers can inspect these states and diffs using standard commands or install the tool via macOS, Arch Linux, NixOS, or a Rust source build.

Key points

  • Developers can install the version control system on macOS, Arch Linux, NixOS, or build i…: Developers can install the version control system on macOS, Arch Linux, NixOS, or build it from source using Rust.
  • Users inspect parent revisions, statuses, and diffs through commands like "jj show," "jj…: Users inspect parent revisions, statuses, and diffs through commands like "jj show," "jj status," and "jj diff."
  • Unique shorthand prefixes for both commit and change identifiers are highlighted to strea…: Unique shorthand prefixes for both commit and change identifiers are highlighted to streamline manual command input.

Sources checked by our analysis pipeline: 1

Why try Jujutsu?

jj

provides primitives for version control that are simple to learn, but elegantly compose into powerful workflows. Features like automatic rebase and native undo soften the sharp edges of Git. Eventually, you’ll organically discover new powerful workflows that would be too cumbersome to attempt with most other VCS tools.

If you work in a Git repository, you can try it today. Jujutsu and Git can be used side-by-side in the same repository, so you can try out jj

on a git

repo on your own, without fully ejecting from git

.

Personally, I think jj

considerably boosts my effectiveness, because it allows me to keep VCS bookkeeping out of my working memory. Automatic rebasing also makes stacked diff workflows quite easy, and reduces thrashing of my working memory. It’s also just a fun tool to use.

Installing jj

Official installation instructions are here, but here are a few common methods:

# macOS

# Arch Linux

# NixOS (ideally from nixpkgs-unstable)

# From source

# (Requires a recent Rust and ~/.cargo/bin on your PATH)

Setup and configuration

In…

Technology