Question · Vibe coding with Claude Code course · Module 9: Discord clone

Quiz: Undoing a change that went too wide

After the request "fix the /api/crew item" Claude also changed lib/session.ts and the moderation routes. How do you return to the state before that request?

Answer options

  • /rewind (or Esc twice) and Restore code for that request, and files changed only by Bash commands you restore from Git
  • You type /clear, which reverts the files to the start of the conversation
  • You run /code-review --fix, which will undo the excess changes itself
  • You add a deny rule for lib/session.ts, which will restore the file

You can check the correct answer by solving this task in the CodeWorlds game.