# What is the difference between the two Copilot CLI rewind options?

Exam: GH-700 — Enhancing Operational Efficiency with Agentic AI (beta)
Knowledge domain: Perform human-in-the-loop tasks for agentic workflows (20–25%)
Updated: 2026-11-19T04:47:23.677354+00:00
HTML: https://learningpathx.com/faq/GH-700/gh700-copilot-cli-rewind-conversation-files.html

## Also asked as

- When should I choose Conversation only or Conversation + files in Copilot CLI rewind?
- What does Copilot CLI restore when I use /undo or /rewind?

In GitHub Copilot CLI, `/undo` or `/rewind` opens a picker for an earlier user turn. **Conversation only** removes later conversation while leaving current files unchanged. **Conversation + files** also restores tracked files Copilot changed in the selected and later discarded turns to their pre-change contents, skipping files you have edited yourself since then.

Choose the first option when you want to revise the discussion while keeping file work. Choose the second when the unwanted file changes should also be removed. Preserve valuable later work before confirming.

CLI file tracking covers editing tools, shell commands and subagents without requiring Git. That does not mean every effect of a shell command is reversed: restoring a tracked file does not undo a sent request, deployment or external record update.

Rewind cannot be undone because later turns are removed. Use `/fork` first if you need a copy of the conversation. After rewind, inspect the actual files, especially manual edits that were skipped, and verify any external effects separately. A shorter transcript alone does not prove successful recovery.

References: [GitHub Copilot CLI command reference - GitHub Docs](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-command-reference).

Source: [GH-700: Recover Copilot Work with Checkpoints and Session History](https://learningpathx.com/guide/GH-700/gh-700-recover-copilot-work-with-checkpoints-and-session-history.html)
