Claude Clue #31: Checkpoints Are Your Undo Button
Claude Code has a feature called checkpoints that can save your bacon.
Claude Code has a feature called checkpoints; every time you send a prompt, Claude Code snapshots your code. Hit Escape twice on an empty prompt, or type /rewind, and you can roll your code, your conversation, or both back to any earlier point.
This is great for fixing mistakes, but also for exploring what Claude did. Let Claude take a first pass, rewind, try a totally different approach, and keep whichever one I like. Same starting point, two real attempts. The rewind menu will also summarize part of the conversation to free up context, like a targeted /compact (Clue #18).
One catch, it only tracks edits from Claude's own file tools. Anything you change outside the session, or a file Claude moves or deletes with a bash command, slips right past it. So keep using version control!
Claude kept the receipts on this one too.
HT: Roscoe Rawson