claude-code - 💡(How to fix) Fix [DOCS] Rewind command docs omit `/undo` alias [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48086Fetched 2026-04-15 06:33:37
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Documentation Type

Incorrect/outdated documentation

Documentation Location

https://code.claude.com/docs/en/commands

Section/Topic

/rewind command entry and related rewind/checkpointing guidance

Current Documentation

The command reference currently documents only one alias for /rewind:

| /rewind | Rewind the conversation and/or code to a previous point, or summarize from a selected message. See checkpointing. Alias: /checkpoint |

Related pages also consistently tell users to use /rewind, without mentioning /undo as an equivalent command:

Press Esc twice (Esc + Esc) or use the /rewind command to open the rewind menu.

  • Esc + Esc or /rewind: press Esc twice or run /rewind to open the rewind menu and restore previous conversation and code state, or summarize from a selected message.
  • Course-correct early: If Claude starts heading the wrong direction, press Escape to stop immediately. Use /rewind or double-tap Escape to restore conversation and code to a previous checkpoint.

What's Wrong or Missing?

Changelog v2.1.108 says:

/undo is now an alias for /rewind

But the current docs still present /rewind as the only documented command name, aside from the older /checkpoint alias.

That leaves the documentation outdated after v2.1.108:

A. The command reference is incomplete

Users reading commands cannot discover that /undo is a supported alias for /rewind.

B. Rewind-related workflow pages are now misleadingly narrow

Pages that instruct users to run /rewind do not mention that /undo works the same way, so users who encounter /undo in release notes, transcripts, or team instructions have no documentation confirming it is valid.

Suggested Improvement

Update the rewind/checkpointing docs to reflect the v2.1.108 alias addition.

Minimum fix:

  1. In commands, update the /rewind row to mention both aliases, for example: Alias: /checkpoint, /undo.
  2. In checkpointing, add a short note near the first /rewind instruction that /undo is an alias and opens the same rewind menu.
  3. In user workflow pages that currently say only /rewind, add a brief alias note or update the wording to /rewind (alias: /undo).

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageContext
https://code.claude.com/docs/en/commands/rewind command entry documents only /checkpoint as an alias
https://code.claude.com/docs/en/checkpointingPrimary rewind workflow page tells users to use /rewind only
https://code.claude.com/docs/en/best-practicesRecommends /rewind for recovery and partial compaction without noting /undo
https://code.claude.com/docs/en/costsAdvises /rewind for course correction without alias context
https://code.claude.com/docs/en/common-workflowsMentions forked sessions created with /rewind only
https://code.claude.com/docs/en/env-varsExplains checkpointing behavior in terms of the /rewind command only
https://code.claude.com/docs/en/agent-teamsDocuments session limitations using /rewind only

Total scope: 7 pages affected

Source: changelog v2.1.108

Exact changelog entry text:

/undo is now an alias for /rewind

extent analysis

TL;DR

Update the documentation for the /rewind command to include /undo as a supported alias.

Guidance

  • Review the affected pages listed in the issue and update the documentation to reflect the addition of /undo as an alias for /rewind.
  • In the commands page, update the /rewind row to mention both aliases, for example: Alias: /checkpoint, /undo.
  • In workflow pages, add a brief note or update the wording to include /undo as an alias, such as /rewind (alias: /undo).
  • Verify that all instances of /rewind in the documentation are updated to include the /undo alias, to ensure consistency and accuracy.

Example

The updated /rewind command entry in the commands page could look like this:

| /rewind | Rewind the conversation and/or code to a previous point, or summarize from a selected message. See checkpointing. Alias: /checkpoint, /undo |

Notes

The updates should be made to the 7 affected pages listed in the issue, to ensure that the documentation is consistent and accurate.

Recommendation

Apply the workaround by updating the documentation to include /undo as an alias for /rewind, as this will provide accurate and consistent information to users.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] Rewind command docs omit `/undo` alias [1 participants]