News for hackers. Stuff that matters.
Re:Jujutsu Primer by pdpi on Friday November 20, 2026 @02:33AM (#50571352)
JJ, using the squash workflow, is brilliant for working with Claude

The workflow is straightforward: I create a named revision for the work I want to do, then an unnamed revision on top. I prompt Claude, changes land in the unnamed revision, I review those, squash the parts that I'm ready to accept, prompt some more to iterate on the parts that aren't up to par yet. Rinse and repeat until the topmost (unnamed) revision is empty.

I instructed Claude that I use jj with the squash workflow, so it should never touch revisions with a non-empty description (I also needed to tell it to shut up about that check), and the whole thing flows pretty damn smoothly.

Re:Jujutsu Primer by commandersaki on Friday November 20, 2026 @04:48AM (#50572398)
I just tell Claude to fold changes in their respective commits when working on a feature branch. No need to do rebase edits or anything else really. I don't really have to think of what gymnastics it has to do to get there.