← Back to context Comment by MattGaiser 1 month ago Claude Code has /rewind. Not sure if it is foolproof, but this has been tried. 3 comments MattGaiser Reply saagarjha 1 month ago Huh, I didn't realize this existed. I feel like it's a miss that Claude doesn't use it when you tell it to undo its work. JimDabell 1 month ago It doesn‘t handle anything Claude uses the shell for, so if it runs `rm -rf .` then rewind won’t help you. xandrius 1 month ago You can give it approved commands, so you can prevent that.
saagarjha 1 month ago Huh, I didn't realize this existed. I feel like it's a miss that Claude doesn't use it when you tell it to undo its work.
JimDabell 1 month ago It doesn‘t handle anything Claude uses the shell for, so if it runs `rm -rf .` then rewind won’t help you. xandrius 1 month ago You can give it approved commands, so you can prevent that.
Huh, I didn't realize this existed. I feel like it's a miss that Claude doesn't use it when you tell it to undo its work.
It doesn‘t handle anything Claude uses the shell for, so if it runs `rm -rf .` then rewind won’t help you.
You can give it approved commands, so you can prevent that.