How to Undo a Composer Change with Checkpoints in Cursor
Use Cursor's Composer checkpoints to roll back a multi-file edit to any earlier point in the conversation.
When Composer edits several files and the result is wrong, undoing one file at a time is painful. Cursor saves a checkpoint at each step of a Composer conversation, so you can roll the whole workspace back to how it looked before any given message. This guide shows how to find and restore a checkpoint without losing your place.
- An active Composer conversation that made changes
- A change you want to undo across multiple files
Locate the checkpoints
Every message you send in Composer creates a restore point. Scroll up the conversation and hover over an earlier message. A Restore Checkpoint control appears next to it. The checkpoint captures the file state from just before that message ran.
Restore an earlier state
Click Restore Checkpoint on the message just before the change went wrong. Cursor reverts every file Composer touched back to that point. Your editor updates immediately, so save and check the diff against git to confirm.
Continue from the restored point
After restoring, you can send a new instruction and Composer continues from the reverted state. This lets you try a different approach without the failed attempt polluting the files.
Result: a bad multi-file Composer edit rolled back in one click, leaving your workspace exactly as it was before the change so you can take a cleaner second attempt.
Watch related tutorials
33:42
41:18
28:05
3:12
26:54
39:10