/cc · Claude Code Commands
  1. Home
  2. Conversation & context
  3. /rewind

/rewind

Undo: roll code and conversation back

★ Start here⇄ Broad file changes

Rolls the conversation and/or code back to an earlier checkpoint, or summarizes from a selected message.

Best use

Claude broke several files: run /rewind, pick the message before the edits, and restore both code and conversation.

Aliases

/checkpoint · /undo

Safety labels

⇄ Broad file changes: Can change or revert many files at once. Commit or back up first, and review with /diff afterwards.

Used in these situations

Related commands · Conversation & context

← See all commands