talira

Jujutsu (jj)

A Git-compatible VCS that is both simple and powerful

open sourceApache-2.0self-hostablefree

Jujutsu is a version control system that uses Git repositories as storage, so it works with existing remotes and teammates on Git. The working copy is itself a commit that is updated automatically, every operation is recorded in an operation log that can be undone, conflicts are first-class objects that can be committed, and descendants are rebased automatically when you change a commit. It started as Martin von Zweigbergk's hobby project and is now a full-time project at Google, though not a supported Google product.

Ways to install

Problems it solves

  • I lose work when I stash, switch branches and forget to pop
  • editing an old commit in the middle of a branch means a scary interactive rebase
  • git undo for any operation, including a botched rebase
  • rebase stops halfway on conflicts and blocks everything until I resolve them
  • want to restack my dependent branches automatically after amending one
  • a simpler mental model than the git index and staging area
  • try a better version control tool without making my team switch from git
  • split one commit into two easily
  • keep many small in-progress changes and move between them freely
  • the git command line is inconsistent and hard to learn

Features

  • working copy as a commit
  • operation log and undo
  • first-class conflicts
  • automatic rebase of descendants
  • revsets query language
  • Git backend compatibility

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Jujutsu (jj) does.

  1. GitButler Version control for your agents
  2. lazygit simple terminal UI for git commands
  3. git-absorb git commit --fixup, but automatic
  4. git-spice Manage stacked Git branches
  5. Git A free and open source distributed version control system
  6. Mergiraf A syntax-aware git merge driver for a growing collection of programming languages and file formats

Compare Jujutsu (jj) with the top 3