Re:Jujutsu Primer
by boltzmann64 on Friday November 20, 2026 @11:04AM
(#50576802)
so jj devs reinvented the stage with extra steps and realize the foresight that linus had quarter century ago.
Re:Jujutsu Primer
by steveklabnik on Friday November 20, 2026 @12:02PM
(#50577960)
It's fewer steps, because it is not an additional concept, just the same concept as the others. Better factored.
Fewer steps on average. When you don't need to be selective you don't need to do "git add", for example. Most of my commits when I used git were that way. Forcing me to do a git add each time added friction.
jj gives you the best of both worlds. If you want the friction, you can have it - with no more commands than with git. If you don't want it, fewer commands. And if you want a fancier stage you can have that too.
You have a much more flexible stage in jj than in git. It's not gone anywhere. They just promoted it to first class and don't call it a stage.
> you have to either write a .gitignore counterpart for jj or manually remove them before committing.
I'll admit it is a pain. The one nice outcome, though, is that you now have everything in .gitignore and don't get "?" in your status.
> just commit and type your message when the context is fresh in your head.
The nice thing about jj is you don't need to worry about the "fresh in your head" part. You can write the commit message before you even begin, and modify it as you go along. You can commit things with no message (which I sort of use as staging), and much later, after several commits, go back and put in the message.