Hacker News new | ask | show | jobs
by fprotthetarball 300 days ago
> Git won't catch new files the agent is adding.

Another problem I inadvertently dodged by using Jujutsu with Claude Code :)

I tend to send a lone "commit" message to Claude when I think I'm in a spot I may want to return to in the future, in case the current path doesn't work out. Then Claude commits it with a decent message. It knows how to use jj well enough for most things. Then it's really easy to jj new back to a previous change and try again.

1 comments

I sometimes use jj in watcher mode and then just use the oplog to go back to wherever.