Exercises › Claude Code for non-coders
Undo a change you didn’t want
Roll back an assistant’s edits with /rewind, then ask again with the rule it was missing.
The commands here work as they do in Claude Code, checked against its documentation on 16 November 2026. In Claude Code, /rewind restores files the assistant edited; it does not undo shell commands.
Hints are here if you need them.
Put the customers back
You asked the assistant to add this year’s sign-ups to your customer list and remove duplicates. It removed four rows.
Two of them were not duplicates. Sam Lee and Maria Garcia each appear twice, but with different emails: they’re different people.
Undo the change. Then ask again so that only rows with the same email count as duplicates.
Tap a file to look inside. Highlighted files changed most recently.