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.

Simulated terminalPractice mode: simulation7 minutesLast checked 16 November 2026

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.

1. Practice2. On your own

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.

No attempts yet
Practice terminalAsks before changes
you › Add the 2026 sign-ups to customers.csv and remove any duplicates.
Done. I added the rows from signups-2026.csv to customers.csv and removed 4 duplicates: Ben Okafor, Sam Lee, Maria Garcia and Priya Shah. customers.csv now has 8 customers.
Your folder
customers/

Tap a file to look inside. Highlighted files changed most recently.