Version Control
Learn about Penflow's built-in version control capabilities
Version Control 🔄
While this isn't exactly version control like Git, Penflow provides a simple way to save snapshots of your work that you can restore later if something goes wrong.
Creating Snapshots 🔄
Penflow makes it easy to save snapshots of your current work:
- Click the version control icon in the bottom docker bar
- Creates a snapshot of your current session state
- Perfect for saving progress before making major changes
- Useful when experimenting with different approaches
Restoring Snapshots ⏮️
When you need to go back to a previous state:
- Access your commit history through the version control panel
- Restore your session to any previous commit point
- Helps recover from unwanted changes
- Maintains a safety net while editing templates
Best Practices 💡
To get the most out of version control:
- Create snapshots before making significant changes
- Use descriptive snapshot messages
- Make regular snapshots during long sessions
- Take snapshots after completing major milestones
Technical Details 🔧
Behind the scenes, this feature creates compressed duplicates of your session in your browser's local storage using LZ-string compression, allowing you to maintain multiple versions of your work locally without consuming too much storage space.
How to Load Previous Snapshots 📥
Follow these steps to restore a previous snapshot:
- Click on "Import / Export JSON" (Ctrl+J) in the bottom docker bar and go to the Version history tab
- Select the snapshot you want to load
- The session will be restored to the state of the snapshot