
Press Esc to stop Claude mid-action; it keeps the work done so far. Say "Undo that" to have it revert its changes. Press Esc twice on an empty prompt, or run /rewind (also /undo), to restore the conversation, the code, or both to an earlier point. The same menu can also shorten a long conversation without touching your files: Summarize from here squeezes the messages after the point you pick into a summary, and Summarize up to here squeezes the ones before it. Every prompt that starts a turn creates a checkpoint. For a save point that lasts, ask Claude to commit your work to git.
Commit what we have so far with a clear message, so I can come back to this version.Why it works
Knowing you can go back makes it easier to ask for an experiment instead of carefully planning every move.
Watch out
Checkpoints follow the files Claude edits itself. A file that only a command changed, and Claude never edited, isn't tracked, so checkpoints are not a replacement for git.