News for hackers. Stuff that matters.
Re:Jujutsu Primer by rbehrends on Friday November 20, 2026 @06:56AM (#50573492)
To each their own, but I always saw the staging area as an anti-pattern that also needlessly complicated git's mental model.

With the staging area, you don't even know if the commit builds if you commit selectively, and manual adding is error-prone.

The traditional "clean" way has been to stash unwanted changes temporarily, then commit the rest.

Re:Jujutsu Primer by coffeeindex on Friday November 20, 2026 @12:40PM (#50578728)
> With the staging area, you don’t even know if the commit builds if you commit selectively, and manual adding is error-prone.

I get conceptually why it’s desired to have things build properly on every commit but I just haven’t seen people actually make use of that. In my team’s current code base, we have the commits in a given PR auto-squash down into one commit which I’ve liked quite a bit

Re:Jujutsu Primer by nixpulvis on Friday November 20, 2026 @02:13PM (#50580238)
It's the lazy and pragmatic solution for those who aren't really comfortable with git / VCS.