Search the documentation
21 pages for /rewind.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…* **No session resumption with in-process teammates**: `/resume` and `/rewind` do not restore in-process teammates. After resuming a session, the lead may attempt to message teammates that no longer e…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…` key. Context is preserved, so you can redirect. * **`Esc + Esc` or `/rewind`**: press `Esc` twice or run `/rewind` to open the rewind menu and restore previous conversation and code state, or summar…
Claude Code changelog
Claude Code CLI · in the page
changelog
…the context window, and a failed `/compact` displays as an error * `/rewind` no longer restores or deletes files through symlinks or hard links at tracked paths and reports how many paths it skipped…
Checkpointing
Claude Code CLI · in the page
checkpointing
…e Code saves checkpoints with the conversation, so you can still run `/rewind` after you resume a session * Claude Code deletes checkpoints along with sessions after 30 days, following the [retention…
Code Review
Claude Code CLI · in the page
code-review
…checkpoints](/docs/en/checkpointing#subagent-edits-not-restored), so `/rewind` doesn't undo them; use git to revert them. When the review [runs in the foreground](#run-in-the-foreground), it edits you…
Commands
Claude Code CLI · in the page
commands
…his local session from another device. **When something is wrong.** `/rewind` rolls code and conversation back to a checkpoint, or summarizes part of the conversation. `/doctor` runs a setup checkup…
Communications kit
Claude Code CLI · in the page
communications-kit
…https://code.claude.com/docs/en/permissions ``` **Checkpointing and `/rewind`** ```markdown theme={null} ⏪ *Tip: There is an undo button for the whole conversation* Claude went down the wrong path…
Explore the context window
Claude Code CLI · in the page
context-window
…ss guesses is important. * **Compact part of the conversation**: run `/rewind`, select a message, and choose **Summarize from here** or **Summarize up to here**. See [Rewind and summarize](/docs/en/ch…
Manage costs effectively
Claude Code CLI · in the page
costs
…s heading the wrong direction, press Escape to stop immediately. Use `/rewind` or double-tap Escape to restore conversation and code to a previous checkpoint. * **Give verification targets**: Include…
Environment variables
Claude Code CLI · in the page
env-vars
…to `1` to disable file [checkpointing](/docs/en/checkpointing). The `/rewind` command will not be able to restore code changes. Overrides the [`fileCheckpointingEnabled`](/docs/en/settings-reference#…
Error reference
Claude Code CLI · in the page
errors
…t theme={null} API Error: 400 due to tool use concurrency issues. Run /rewind to recover the conversation. API Error: 400 ... unexpected `tool_use_id` found in `tool_result` blocks API Error: 400 ...…
Fullscreen rendering
Claude Code CLI · in the page
fullscreen
…nched session: * The conversation as it appears on screen. After a [`/rewind`](/docs/en/checkpointing#rewind-and-summarize), that means: * If you rewound earlier in the session, Claude Code relaunc…
Glossary
Claude Code CLI · in the page
glossary
…every edit so a checkpoint can revert them. Press `Esc` twice or run `/rewind` to restore code, conversation, or both to an earlier point, or to summarize part of the conversation from a selected mess…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…mid-task. If you've gone down a path you want to abandon entirely, [`/rewind`](#rewinding-the-conversation) to an earlier turn instead. Rewinding truncates back to a prefix that is already cached, ra…
Claude Code settings
Claude Code CLI · in the page
settings
…` | **Default**: `true`. Snapshot files before each edit so [`/rewind`](/docs/en/checkpointing) can restore them. Appears in `/config` as **Rewind code (checkpoints)**. To disable via environm…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…| Turn off or on the file snapshots that [`/rewind`](/docs/en/checkpointing) restores…
Extend Claude with skills
Claude Code CLI · in the page
skills
…its outside your session's [checkpoints](/docs/en/checkpointing), so `/rewind` doesn't undo them; use git to revert them. <Warning> `context: fork` only makes sense for skills with explicit instruc…
Week 16 · April 13–17, 2026
Claude Code CLI · in the page
whats-new/2026-w16
…wildcard</div> <div><code>/undo</code> is now an alias for <code>/rewind</code>, and <code>/proactive</code> is an alias for <code>/loop</code></div> <div>Hardened Bash permissions: deny rule…
Week 26 · June 22–26, 2026
Claude Code CLI · in the page
whats-new/2026-w26
…with the ! prefix, and resume a conversation from before /clear with /rewind. <div className="digest-meta"> <span>Releases <a href="/docs/docs/en/changelog#2-1-185">v2.1.185 → v2.1.193</a></span>…
What's new
Claude Code CLI · in the page
whats-new/index
…tput** (`! npm test` gets an explanation without a second prompt); **`/rewind`** can resume a conversation from before `/clear` was run; and **background subagents** now surface permission prompts in…
Changelog
Claude Documentation · in the page
cowork/changelog
…ode** * Added Rewind to cloud sessions (message menu, Esc Esc, or `/rewind`), and fixed rewound-away messages reappearing when a rewound cloud or Remote Control session was reopened. * Fixed an i…