Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mfenniak
· 1y ago · 0 comments
I don't think jujutsu woild help with this use case -- jujutsu will not save everything because it is not running constantly on your repo. It snapshots the working tree only when you run a `jj` command. Ineffective if an agent is doing work.
Comments
[–]
adobrawy
1y ago
You can use Claude hooks (
https://docs.anthropic.com/en/docs/claude-code/hooks#stop-an...
) to trigger jj / git automatically.
[–]
ricericerice
1y ago
you can set up the watchman fs monitor to snapshot whenever a file changes on the filesystem, its saved my ass plenty of times