logoalt Hacker News

commandersaki • today at 7:12 AM • 2 replies • view on HN

I don't really see the point anymore of mastering jj or git; Claude does all the hard stuff for me.


Replies

pdpi • today at 7:33 AM

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.

➕ show 1 reply
minraws • today at 7:14 AM

But git cant undo claudes mistakes. jj can.