Comment by Zambyte
10 days ago
People in this thread seem to be too focused on the agent creating a git log. This seems to be solving a different problem than that does.
When you're interacting with agents, multiple prompts may reasonable culminate in a single commit. It may be useful to track or undo things between commits - at the prompt level. I personally have a workflow when I use Jujutsu (jj) for git already, and this slotted in very nicely to solve this problem. The auto-committing in jj makes it very easy and natural to compare diffs between prompts, and undo specific chunks or restore previous states without making a new commit every prompt. I only finish a commit, giving it a message and advancing the branch, once I've iteratively dialed in the changes I want.
I probably won't use this tool since I already have a flow that works for me, but maybe this will help people see why such a tool can be helpful.
Edit: fixed typo
That's actually the one feature of cursor that i really miss in claude, even though I need it a lot less often.
Hit ESC-ESC in the Claude Code terminal.
- hopefully after a /compact. - what happens if want to undo, and then redo? i found the /rewind functionality in claude very lean in that matter.
1 reply →
tnx for the honest feedback! really, appreciate it! would you mine sharing more details about your workflow with jj?
Sure. I was a bit loose with my vocab in my previous comment - I'm going to try to be more specific by using the terms as defined in the jj glossary[0] (particularly "change" vs "commit").
[0] https://www.jj-vcs.dev/v0.41.0/glossary/
[1] https://www.conventionalcommits.org/en/v1.0.0/
cool approach, i havent used jj actually in my workflow, ill try to adopt