Save and restore previous states after Agent changes
Checkpoints are automatic snapshots of Agent’s changes to your codebase. They let you undo Agent modifications if needed.
Restoring checkpoints
Two ways to restore:
- From input box: Click
Restore Checkpoint
button on previous requests - From message: Click the + button when hovering over a message
Checkpoints are not version control. Use Git for permanent history.
How they work
- Stored locally, separate from Git
- Track only Agent changes (not manual edits)
- Cleaned up automatically
Manual edits aren’t tracked. Only use checkpoints for Agent changes.
FAQ
Do checkpoints affect Git?
Do checkpoints affect Git?
No. They’re separate from Git history.
How long are they kept?
How long are they kept?
For the current session and recent history. Automatically cleaned up.
Can I create them manually?
Can I create them manually?
No. They’re created automatically by Cursor.