this post was submitted on 02 Aug 2025
29 points (87.2% liked)

Programming

21924 readers
711 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

“Jujutsu (jj) is a version control system with a significantly simplified mental model and command-line interface compared to Git, without sacrificing expressibility or power (in fact, you could argue Jujutsu is more powerful). Stacked-diff workflows, seamless rebases, and ephemeral revisions are all natural with jj [...]”

Part 2 of the series is out and is here.

you are viewing a single comment's thread
view the rest of the comments
[–] Sibbo@sopuli.xyz 2 points 22 hours ago (6 children)

So this is a git frontend I guess?

[–] HaraldvonBlauzahn@feddit.org 3 points 21 hours ago* (last edited 17 hours ago) (1 children)

Yeah, sort of. It can be used e.g. instead of command-line git commands, or also be intermixed with them. Pushing a branch to a git server works as normal "git push" (needed in older versions with complex vpn/ssh configurations).

Has also still limitations remaining - no git submodule support. But it has work trees.

[–] kata1yst@sh.itjust.works 2 points 17 hours ago* (last edited 17 hours ago) (1 children)

I'd argue work trees are largely better than submodules in most situations anyhow.

Edit: oh I confused subtrees and worktree.

[–] HaraldvonBlauzahn@feddit.org 2 points 15 hours ago* (last edited 13 hours ago)

More shortcomings of jujutsu:

Some things that are also missing are signing commits and such, but again one can use git for this.

Also, git servers and tools like github, gerrit etc. don't know about jujutsu's change ids, so the advantages are kept local. But this is changing, the tools are adding this metadata.

Also, one can sync up jj repos with rsync, which transmits the change ids.

gitk shows many temporary commits which is distracting.

It obsoletes Emacs Magit, which means vim is the better choice for editing commit messages, which means you see yourself morphing into a vim user. Or maybe emacsclient.

Building jujutsu from source requires a fairly up-to-date Rust environment. (One can download a binary that is statically linked with musl from github but I hate downloading binaries). Debian stable has not even an out-dated version. Building it under Guix's cargo took me some tries.

If you work on a Mainframe or Tandem system, you'll need to wait until your system's Rust port is done. A hefty requirement compared to the needs of building git.

Seeing the list of dependencies makes one wonder whether it was written in node/js.

load more comments (4 replies)