When you have two or three Claude Code sessions running at once, it’s easy to accidentally type an instruction into the wrong session. Not a disaster. Just use /rewind, and just like that, you get a do-over.
Here’s a link to the documentation on checkpointing, along with other ways to make the Claude Code CLI interface more user-friendly.