In plain words
Rolling back means returning your app to an earlier version that worked, using the tool's history or Git, instead of asking the agent to undo from memory.
Where you see it
Version history in Lovable and Bolt, checkpoints in Replit, "Restore checkpoint" in Cursor, and /rewind in Claude Code. All of them restore your code; most do not undo changes already made to your database.
What goes wrong
- Asking the agent to undo its own work
It rebuilds the old version from memory and may miss a file or leave a half-change behind. The history button restores the exact earlier state.
undo everything you did in the last hour - Restoring the code but not the database
If the broken change added a column or deleted rows, rolling back the code won't put them back. Ask what changed in the database before you restore.
- Having no good version to go back to
If you never saved a version while things worked, there's nothing clean to return to. Commit, or note the version, each time a feature works.
What to tell your agent
Quick check
Sign in to earn +10 XP for itYou restore yesterday's version in Lovable, but the app still errors about a missing column. Why?