Guide
Version history and restore
Every change is saved. Here is how to go back when something went wrong.
Before you start
- A project with at least a few AI changes
- 1
Every AI change is a saved version
Whenever the AI changes your code, the result is stored as a version tied to that chat message. You never need to save anything yourself, and there is no limit to worry about.
- 2
Find the message where things were still good
Scroll up in the chat to the last AI message where the app worked the way you wanted. The message is the bookmark for that exact state of the code.
- 3
Click "Restore to this point"
The code returns to exactly the state it had after that message. Everything the AI did after that point is undone in one click.
- 4
Restore instead of describing the undo
Asking the AI to "remove the thing you added and put back how it was" costs credits and can miss details. Restore is exact and free. Use it whenever a change took the app in the wrong direction.
- 5
Know what restore does not touch
Restore rewinds the code, not the data. Accounts and records your app has stored stay as they are. Your chat history also stays, so you can still read what happened.