Manage Sessions
Use /rewind to rewind a conversation. You will be prompted to select from recent sessions and then a point in the conversation history to rewind to. The code and context will be restored to that point.
β Being able to rewind is very useful if you want to backtrack to a previous state, this is crucial feature to keep your context window clean in case something goes wrong.
- Use
/clearto start a new session. Note, the context will be cleared and you will start a new session. Previous sessions are saved and can be resumed later. - Use
/resumeto resume a conversation. You will be prompted to select from recent sessions. - Use
/exportconversation to a file or clipboard. - Use
/compactto compact the context window.
From the command line, you can use claude --resume to resume to a session. Or claude --continue to continue the last session.