BUILD / rewind-a-grok-build-session

Build

Rewind a Grok Build session to an earlier turn

Rewind a Grok Build session to an earlier turn

/rewind restores files and conversation history to a chosen prompt. Official: Sessions, Modes and Commands.

Rewind from the TUI

  1. Idle the session (finish or cancel the running turn).
  2. Run /rewind, or press Esc Esc while the prompt is empty.
  3. Pick the rewind point for the prompt you want to return to.
  4. Confirm. Grok restores files on disk to that point and truncates the conversation to match.

What changes on disk

Rewind modifies files. Reverted edits are lost unless they were already committed to git. Commit or stash anything you may need before you rewind past a large change set.

Related session tools

Pitfalls

  • Rewinding while a turn is still running — cancel or wait first.
  • Assuming rewind only edits the chat scrollback; file snapshots come with it.