Learn how to manage, view, and restore previous versions of your Mocha projects
Every prompt you send in Mocha creates a new version of your project. This version history allows you to track changes, view previous states, and restore to earlier versions if needed.
Each version represents a snapshot of your project at a specific point in time. You can:
Viewing and interacting with versions of your project
The “View” option lets you explore previous versions without making any changes. This is perfect for:
Viewing a previous version
When you restore to a previous version:
Restoring to a previous version
Restoring a version is permanent and cannot be undone. All versions created after the restored point will be deleted.
If you want to keep both the current and previous versions:
Duplicating a version to work on multiple variations
Use version duplication when you want to explore different design directions or maintain multiple variations of your project.
Regular Checkpoints
Make incremental, atomic changes so that you have nice, clean version history
View Before Restoring
Always view a version before restoring to ensure it’s the right one
Use Duplication
When in doubt, duplicate instead of restoring to preserve your work