promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Cursor CLI

/rewind

Jumps back to an earlier message via an interactive timeline and restores files/conversation.

/rewind opens an interactive timeline to reset files and conversation state to an earlier turn, with a per-turn diff and the option to restore only the conversation (without files). On by default. Aliases per the changelog: /undo, /restore (must first be enabled in /config). Rewinding to an earlier turn also restores that turn's image attachments.

โœ… WHEN TO USE IT?

A failed approach needs to be fully undone

/rewind โ€” jump back to the turn before the failed refactor

Reset only the conversation state, but keep the files

/rewind โ€” choose the 'conversation-only restore' option

โ›” WHEN NOT TO?

Only a single typo needs correcting

Jumping back through the whole timeline is overkill for a small correction.

Better: Just give a new correction instruction directly in the chat

Two solution paths should be kept in parallel

/rewind overwrites the later state instead of keeping it alongside.

Better: Use /fork beforehand to keep a copy

SOURCES