Checkpoints are snapshots of your workspace that Roo automatically creates as you work together. They're like save points in a game, allowing you to:
- Track changes to your files over time
- Go back to previous versions if needed
- See what changes were made between saves
- Experiment freely, knowing you can restore your work
When you're working with Roo on a task:
- Automatic Saving: Roo automatically creates checkpoints after important operations that change your files
- Safe Storage: These checkpoints are stored separately from your code and don't interfere with your own version control
- Easy Restoration: You can go back to any checkpoint with a simple click
- Change Tracking: You can see exactly what changed between checkpoints
To see your available checkpoints:
- Look for the "Checkpoints" dropdown in the top right of the Roo interface
- Click to expand and see a list of all saved checkpoints in the current task
- Each checkpoint shows when it was created and what changes it contains
If you need to go back to a previous state:
- Open the "Checkpoints" dropdown
- Click on the checkpoint you want to restore
- Confirm the restoration when prompted
- Your workspace will return to exactly how it was at that point
To see what changed between checkpoints:
- Open the "Checkpoints" dropdown
- Select "View Changes" on any checkpoint
- A diff view will show what files were added, changed, or removed
- You can click on any file to see the specific line changes
Roo offers two ways to store checkpoints:
- Checkpoints are stored per task
- Each task has its own independent checkpoints
- Checkpoints are deleted when the task is deleted
- Best for most users who work on different tasks
- Checkpoints are stored per workspace
- All tasks in the same workspace share a checkpoint history
- Checkpoints remain even if tasks are deleted
- Best for users who work continuously in the same workspace
To change your storage option:
- Open Settings (
Ctrl+,orCmd+,) - Search for "Roo Checkpoint Storage"
- Choose either "task" or "workspace"
Checkpoints are enabled by default, but you can turn them off:
- Open Settings (
Ctrl+,orCmd+,) - Search for "Roo Enable Checkpoints"
- Toggle the setting on or off
- During complex refactoring operations
- When making experimental changes
- When Roo is making multiple file changes
- When trying different approaches to a problem
- For long-term version control (use Git instead)
- For sharing changes with others (use Git instead)
- For permanent backups (checkpoints may be deleted)
If you want to manually create a checkpoint at any time:
- Click the "Create Checkpoint" button in the Roo interface
- Or use the command palette (
Ctrl+Shift+PorCmd+Shift+P) and search for "Roo: Create Checkpoint"
| Issue | Solution |
|---|---|
| Checkpoints not being created | Check that checkpoints are enabled in settings |
| Can't see checkpoint dropdown | Make sure you're in an active Roo task |
| Restoration fails | Make sure no file operations are in progress |
| Can't see changes in diff view | Try selecting a different checkpoint for comparison |
- Checkpoints are stored locally on your computer
- No checkpoint data is sent to Roo's servers
- Checkpoints use minimal disk space thanks to Git-based storage
- You can delete all checkpoint data by deleting the
.roofolder in your workspace
While checkpoints use Git technology internally, they're different from your own Git repositories:
- Automatic: Created without you having to do anything
- Task-focused: Organized around your conversations with Roo
- Shadow system: Won't interfere with your existing Git repo
- UI integrated: Managed through the Roo interface
- Short-term: Designed for your current work, not long-term history