Developing

Jujutsu Primer

Heat 58 · #18 in Tech · Rising2 reports · 2 sources · First reported Nov 20 · Updated Nov 20

The story

Jujutsu (jj) is a version-control system built to be used alongside Git in the same repository, and Ethan Lowman's primer introduces it to Git users. Where Git has a staging area, jj snapshots the working copy automatically: every edit becomes a commit, and stable change IDs track a logical change even as its commit hash changes with each rewrite. The guide walks through jj's branchless model — work happens on a graph of commits rather than named branches — and revsets, the Mercurial-inspired query language for selecting revisions. Automatic rebasing keeps stacked changes in order, and a native undo command softens Git's sharp edges. Lowman says jj keeps version-control bookkeeping out of working memory, and that it can be tried today on a Git repo without fully leaving Git behind.
Latest development
install via brew/pacman/Nix/cargo. Lobsters #9 links the same post (same single source, no second platform credit per round-249 treatment). Score 70.0 (rank 100, discussion 60, cross 30).

How it unfolded

  1. install via brew/pacman/Nix/cargo. Lobsters #9 links the same post (same single source, no second platform credit per round-249 treatment). Score 70.0 (rank 100, discussion 60, cross 30).
  2. revsets (borrowed from Mercurial) select revisions
  3. no staging area - the working copy is auto-snapshotted as a commit, with stable change IDs tracking a logical change as its commit hash changes
  4. jj and Git can be used side-by-side in the same repo (jj git init)
  5. automatic rebase and native undo soften Git's sharp edges
  6. Nov 20
    jj's primitives are simple to learn but compose into powerful workflows

The angle

Jujutsu Primer: the five ideas that make jj click for Git users - no staging area, change IDs, branchless work, revsets, automatic rebaseSuggested format: Short video · for Developers, Git users, open-source users

Coverage (2)

Hacker NewsHacker News
EthanlowmanEthanlowman

Heat

Now 58 · Peak 72 · 53 recorded checks since Nov 20
Full ranking →