Jujutsu (jj) is a version control tool that provides primitives for managing code changes. It includes features such as automatic rebase and native undo capabilities. The tool is designed to offer powerful workflows that are less cumbersome than those in other version control systems.
Jujutsu can operate within an existing Git repository, allowing users to try it without fully migrating from Git. Jujutsu and Git can be used side-by-side, with repository states automatically synchronized between the two systems. This allows for gradual adoption and experimentation.
Installation methods are provided for macOS, Arch Linux, NixOS, and from source (requiring Rust). After installation, running `jj git clone <repo_url>` or `jj init --git` in an existing Git repository initializes Jujutsu.
Users can set global details like username and email using `jj config set user.name "Your Name"` and `jj config set user.email "your@example.com"`. Jujutsu's TOML configuration can be edited with `jj config edit`. Configuration scopes include `--user`, `--repo`, and `--workspace`, and the merged configuration can be viewed with `jj config list`.
A commit in Jujutsu, also called a revision, represents a snapshot of the repository state, similar to a Git commit. When using a Git backend, the Jujutsu commit ID is identical to the Git commit ID, formatted as a hex string. For example, `2bea5e3d` and `849165bc` are commit IDs.
Jujutsu also uses 'change IDs' (e.g., `royxmykx`, `kpqxywon`), which are stable identifiers for logical changes as they evolve. Both commit IDs and change IDs can be referenced using unambiguous prefixes, which Jujutsu highlights for ease of use.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
This primer introduces Jujutsu (jj), a version control tool offering features like automatic rebase and native undo, designed to simplify workflows. Jujutsu can be used alongside Git in existing repositories, synchronizing state between the two systems. It aims to provide a more intuitive experience for managing code changes.