INTERFACE

REWIND

Travel back in the session's time.

Double Esc takes you back to before the last exchange.

Useful when Claude took a wrong branch and you want to reformulate without losing the earlier context.

It is not a code undo, it is a prompt undo. To undo a file, git restore remains the way.

In practice

# Shortcut:
Esc Esc

# Goes back to before the last exchange.
# Useful when Claude took the wrong branch
# and you want to reformulate without losing
# the earlier context.

# To undo a file, it is still git restore.

This practice is part of Claude Code OS, the full blueprint of the practices that separate following a tutorial from actually working with Claude. Ler em português.