News for hackers. Stuff that matters.
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`.
Re:Jujutsu for Busy Devs by 000ooo000 on Tuesday July 22, 2025 @02:13AM (#44643706)
FWIW, @ is a shortcut for HEAD in Git.
Re:Jujutsu for Busy Devs by Nzen on Tuesday July 22, 2025 @11:38AM (#44648516)
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...