Jujutsu (jj) is a version control system for tracking, sharing, and publishing code changes. It uses Git repositories as its production storage backend while keeping branches and other metadata outside Git.
Overview
Jujutsu is a VCS meant to be approachable for newcomers and workable for large teams and long histories. Its design separates the user interface and algorithms from physical storage, with a Git backend today so commits and files interoperate with Git remotes and forges.
The working copy is represented as a normal commit that most commands amend automatically, which avoids a separate index or stash in typical workflows. Conflicts are first-class in the model and can be recorded inside commits so operations complete and resolution can happen later.
An operation log records repository actions with state snapshots, enabling undo and debugging of how a repo reached its current state. When you rewrite a commit, descendants rebase automatically and conflict resolutions can propagate.
The jj command-line tool is the primary interface. You can fetch and push to Git remotes, colocate jj and git in one workspace, and explore GitHub repos with jj. Git compatibility is stable for daily use, though some features such as Git submodules are still incomplete.
Key features
- Git-backed storage interoperability
- Working copy as a commit
- Operation log and undo
- First-class conflict tracking
- Automatic descendant rebase
- History rewrite commands
- Revset-based commit selection
- Colocated jj and git workflows
Use cases
- Day-to-day Git remote workflows
- Patch-based history editing
- Teams wanting simpler staging semantics
- Exploring repos before switching from Git
- Conflict-heavy merge and rebase work