🛟Checkpoints & Sandboxing·Checkpoints & /rewind1/4
📖 Concept

Rewind, don't panic

Claude Code automatically checkpoints file edits as it works. If a change goes sideways, `/rewind` (or tapping Esc twice) lets you pick an earlier state and restore it — conversation, files, or both.

/rewind      # pick a checkpoint to restore
Esc Esc      # same thing, faster
  • Checkpoints cover Claude's edits, not your own manual ones
  • Still commit often — git is the real safety net
  • Rewinding the conversation is different from /clear: it goes back, not blank