Re:Jujutsu for Busy Devs
by do_not_redeem on Monday July 21, 2025 @09:12PM
(#44642264)
If you want this workflow, you can treat jj's `@` (nominally equivalent to git's HEAD) as the git index, then at commit time, manually squash changes to `@-` just like you would with `git add --patch`.
[ Parent
| on HN ]
FWIW, @ is a shortcut for HEAD in Git.
When I've asked about using a jj stage, that's the workflow people pointed me to, as described in this tutorial [0]. I've not tried it, nor jujutsu, but I felt it worth pointing at a concrete example to allay or stoke fears of people on the fence.
[0] https://steveklabnik.github.io/jujutsu-tutorial/real-world-w...