←back to thread

Claude Code Checkpoints

(claude-checkpoints.com)
184 points punnerud | 8 comments | | HN request time: 0.923s | source | bottom
1. emilecantin ◴[] No.45051525[source]
I tend to have auto-accept on for edits, and once Claude is done with a task I'll just use git to review and stage the changes, sometimes commit them when it's a logical spot for it.

I wouldn't want to have Claude auto-commit everything it does (because I sometimes revert its changes), nor would I want to YOLO it without any git repo... This seems like a nice tool, but for someone who has a very different workflow.

replies(3): >>45051585 #>>45052131 #>>45055200 #
2. punnerud ◴[] No.45051585[source]
"Checkpoints for Claude Code" use git under the hood, but stored in .claudecheckpoints folder, to not mess with your own git. Add itself to .gitignore. It auto commits with a git message for the changes done through MCP locally.
3. michaelmior ◴[] No.45052131[source]
As someone who doesn't use CC, auto-commit seems like it would be the easiest way to manage changes. It's easy enough to revert or edit a commit if I don't like what happened.
replies(2): >>45052167 #>>45072355 #
4. emilecantin ◴[] No.45052167[source]
It's also very easy to throw away unstaged changes, and to stage exactly what you want. I treat the staging process ("git add") as a code review.
replies(1): >>45052329 #
5. fastball ◴[] No.45052329{3}[source]
It's also very easy to throw away actual commits, as long as you don't push them (and even then not so difficult if you're in a context where force-pushing is tolerable).
replies(1): >>45053717 #
6. emilecantin ◴[] No.45053717{4}[source]
True, but it's harder to reject changes in one file, make a quick fix, etc. I like to keep control over my git repo as it's a very useful tool for supervising the AI.
7. noodlescb ◴[] No.45055200[source]
Yeah I basically have Claude commit via git regularly and the majority of the other features described her can be done via git. I agree it's a neat idea for someone though.
8. adastra22 ◴[] No.45072355[source]
Do you not use git bisect?