Skip to content

Commit 983b913

Browse files
docs: add /rewind timeline picker and update /allow-all subcommands
- Add /rewind command to Chapter 01 Session commands reference table - Update /rename description to mention auto-generate option (no argument) - Update /allow-all to document on/off/show subcommands (v1.0.12) - Add /rewind to Chapter 02 context management section with explanation - Add /rewind to Context Efficiency Tips table in Chapter 02 - Update Chapter 02 Key Takeaways to include /rewind Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f594477 commit 983b913

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

01-setup-and-first-steps/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ That's it for getting started! As you become comfortable, you can explore additi
411411

412412
| Command | What It Does |
413413
|---------|--------------|
414-
| `/allow-all` | Auto-approve all permission prompts for this session |
414+
| `/allow-all [on\|off\|show]` | Auto-approve all permission prompts; use `on` to enable, `off` to disable, `show` to check current status |
415415
| `/add-dir <directory>` | Add a directory to allowed list |
416416
| `/list-dirs` | Show all allowed directories |
417417
| `/cwd`, `/cd [directory]` | View or change working directory |
@@ -423,7 +423,8 @@ That's it for getting started! As you become comfortable, you can explore additi
423423
| Command | What It Does |
424424
|---------|--------------|
425425
| `/resume` | Switch to a different session (optionally specify session ID) |
426-
| `/rename` | Rename the current session |
426+
| `/rename` | Rename the current session (omit the name to auto-generate one) |
427+
| `/rewind` | Open a timeline picker to roll back to any earlier point in the conversation |
427428
| `/context` | Show context window token usage and visualization |
428429
| `/usage` | Display session usage metrics and statistics |
429430
| `/session` | Show session info and workspace summary |

02-context-conversations/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ copilot
330330
331331
### Check and Manage Context
332332
333-
As you add files and conversation, Copilot CLI's [context window](../GLOSSARY.md#context-window) fills up. Two commands help you stay in control:
333+
As you add files and conversation, Copilot CLI's [context window](../GLOSSARY.md#context-window) fills up. Three commands help you stay in control:
334334
335335
```bash
336336
copilot
@@ -340,10 +340,15 @@ Context usage: 45,000 / 128,000 tokens (35%)
340340
341341
> /clear
342342
# Wipes context and starts fresh. Use when switching topics
343+
344+
> /rewind
345+
# Opens a timeline picker — roll back to any earlier point in your conversation
343346
```
344347
345348
> 💡 **When to use `/clear`**: If you've been reviewing `books.py` and want to switch to discussing `utils.py`, run `/clear` first. Otherwise stale context from the old topic may confuse responses.
346349
350+
> 💡 **Made a mistake or want to try a different approach?** Use `/rewind` (or press Esc twice) to open a **timeline picker** that lets you roll back to any earlier point in your conversation — not just the most recent one. This is handy when you went down the wrong path and want to backtrack without starting over entirely.
351+
347352
---
348353
349354
### Pick Up Where You Left Off
@@ -559,6 +564,7 @@ copilot
559564
| Situation | Action | Why |
560565
|-----------|--------|-----|
561566
| Starting new topic | `/clear` | Removes irrelevant context |
567+
| Went down wrong path | `/rewind` | Roll back to any earlier point |
562568
| Long conversation | `/compact` | Summarizes history, frees tokens |
563569
| Need specific file | `@file.py` not `@folder/` | Loads only what you need |
564570
| Hitting limits | Start new session | Fresh 128K context |
@@ -846,7 +852,7 @@ copilot --add-dir /path/to/directory
846852
1. **`@` syntax** gives Copilot CLI context about files, directories, and images
847853
2. **Multi-turn conversations** build on each other as context accumulates
848854
3. **Sessions auto-save**: use `--continue` or `--resume` to pick up where you left off
849-
4. **Context windows** have limits: manage them with `/context`, `/clear`, and `/compact`
855+
4. **Context windows** have limits: manage them with `/context`, `/clear`, `/rewind`, and `/compact`
850856
5. **Permission flags** (`--add-dir`, `--allow-all`) control multi-directory access. Use them wisely!
851857
6. **Image references** (`@screenshot.png`) help debug UI issues visually
852858

0 commit comments

Comments
 (0)