Study FAQ
How do I restore a checkpoint in a supported VS Code Copilot session?
Also asked as 2
- What does Restore Checkpoint do in a supported VS Code Copilot chat?
- How can I return VS Code files and chat to an earlier Copilot checkpoint?
Answer
In a supported VS Code chat session, find the earlier request, hover over it, choose Restore Checkpoint, and confirm after checking which later work will be removed. The action restores affected workspace files to that checkpoint and removes subsequent conversation turns.
VS Code creates checkpoints before requests in supported sessions; chat.checkpoints.enabled controls them. If the action is absent, check session support and configuration rather than assuming a snapshot exists.
Before restoring, preserve any useful later edits and the evidence needed to reapply them. For a report with an accepted outline, a bad rewrite and a useful later wording fix, restoring before the rewrite also discards the later turns, so retain that fix first.
After restoration, compare the actual files with the intended version and reapply preserved work deliberately. A checkpoint does not reverse completed terminal commands, network requests, deployments or external-service changes. Inspect an already updated issue or other external record independently and use its authorized recovery procedure if reversal is required.
References: Review and revert agent changes.
Full explanation
GH-700: Recover Copilot Work with Checkpoints and Session History
Study guide · GH-700
Read the full explanation