I use magit in Emacs in a similar sort of way. Bringing up the magit status page instantly presents a list of hunks I can browse and stage. When committing, there is also an option to "instant fixup" into an existing commit, which you can select interactively from the commit log.
I just recently gave Jujutsu a go, and I must say, it is a pleasure to work with VCS now. As opposed to Git, jj just makes sense and does exactly what I want it to do. No issues whatsoever. And if there is a need (which it is not most of the time), one can just fall back to Git and its ecosystem.
8 Comments
mox@lemmy.sdf.org · 6 pts · 1y
Recent presentation by the developer:
https://www.youtube.com/watch?v=LV0JzI8IcCY
Tutorial by someone else:
https://steveklabnik.github.io/jujutsu-tutorial/
robinm@programming.dev · 5 pts · 1y
First experience with #jj #jujitsu
I tried the equivalent of
git add -p(jj squash -i).git add --interactive(which I find much more complicated and less productive)ekey ingit add -p) which I use a lot to split debug statements from real workI generated a conflict (as I expected)
jj undodid not worked (I have not been able to undo thejj squashthat introduced the conflictVery not impressed so far. Fortunately it was a test repo.
2xsaiko@discuss.tchncs.de · 2 pts · 1y
I don't think the builtin diff editor can do this, but you can set a different diff editor than the builtin one: https://github.com/martinvonz/jj/blob/main/docs/config.md#editing-diffs
edit: but wait, debug statements? Are they mixed in on the same line as the real code? The builtin diff editor can pick changes per line.
jj evolog to show how a single change evolved including the previous commit that didn't have the conflict yet, if that's what you mean.
If you did something afterwards, the operation you undo will no longer be the squash. Look at jj op log to see which one is the correct one to undo.
samc@feddit.uk · 3 pts · 1y
I use magit in Emacs in a similar sort of way. Bringing up the magit status page instantly presents a list of hunks I can browse and stage. When committing, there is also an option to "instant fixup" into an existing commit, which you can select interactively from the commit log.
Adda@lemmy.ml · 3 pts · 1y
I just recently gave Jujutsu a go, and I must say, it is a pleasure to work with VCS now. As opposed to Git,
jjjust makes sense and does exactly what I want it to do. No issues whatsoever. And if there is a need (which it is not most of the time), one can just fall back to Git and its ecosystem.FizzyOrange@programming.dev · 1 pts · 1y
Has anyone used Jujutsu and Sapling? Which is better?
Kissaki@programming.dev · 1 pts · 1y
404 dead link
2xsaiko@discuss.tchncs.de · 3 pts · 1y
Huh. https://web.archive.org/web/20241212125937/https://drewdevault.com/2024/12/10/2024-12-10-Daily-driving-jujutsu.html