Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. GH-700/
  4. GH-700 Learning Path/
  5. Study FAQs/
  6. What is the difference between the two Copilot CLI rewind options?

Study FAQ

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

Exam · GH-700Knowledge domain · Perform human-in-the-loop tasks for agentic workflows (20–25%)Updated Nov 19, 2026
Also asked as 2
  • When should I choose Conversation only or Conversation + files in Copilot CLI rewind?
  • What does Copilot CLI restore when I use /undo or /rewind?

Answer

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.

Full explanation

GH-700: Recover Copilot Work with Checkpoints and Session History

Study guide · GH-700

Read the full explanation →
← Back to GH-700 FAQsView learning path →

Related questions

How do I diagnose an agent workflow failure before changing its configuration? →How do I decide whether an agent-generated business output is ready to accept? →Can Copilot content exclusion guarantee that sensitive files cannot be accessed? →Does a local Copilot session keep its working record only on my computer? →How do I keep a Copilot business task within draft-only authority? →Do organization custom instructions govern every Copilot session? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.