Skip to content

docs: recover PR #22 updates (rewind, allow-all, rename)#24

Merged
DanWahlin merged 4 commits intomainfrom
docs/recover-pr22-updates
Mar 31, 2026
Merged

docs: recover PR #22 updates (rewind, allow-all, rename)#24
DanWahlin merged 4 commits intomainfrom
docs/recover-pr22-updates

Conversation

@DanWahlin
Copy link
Copy Markdown
Collaborator

Recovers Lost Changes from PR #22

PR #22 was merged into the staged branch, which was subsequently deleted — so those changes never reached main. This PR recovers those exact changes.

Changes Recovered

  • /rewind timeline picker — documented in Ch 01 (commands table) and Ch 02 (context management)
  • /allow-all on|off|show — updated subcommand documentation in Ch 01
  • /rename auto-generate — updated description in Ch 01
  • Context management section — expanded with /new, /rewind in Ch 02
  • Alphabetized command tables in Ch 01

Original PR: #22

Recover changes from PR #22 which were merged into the since-deleted
staged branch and never reached main. Includes:

- /rewind timeline picker documentation (Ch 01, 02)
- /allow-all on|off|show subcommands (Ch 01)
- /rename auto-generate option (Ch 01)
- Updated context management section (Ch 02)
- Alphabetized command tables (Ch 01)

Original PR: #22

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 31, 2026 19:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Recovers documentation updates from previously-merged PR #22 that never reached main, updating the course material to reflect new/changed Copilot CLI commands and improved session/context guidance.

Changes:

  • Document /rewind timeline picker and add guidance on when to use it.
  • Update /allow-all documentation to include on|off|show subcommands.
  • Expand session/context management docs to include /new, and update command tables accordingly.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
01-setup-and-first-steps/README.md Updates slash-command reference tables (including /allow-all subcommands and session commands like /rewind, /new).
02-context-conversations/README.md Expands context-management guidance and tips to include /new and /rewind, plus related best-practice updates.
Comments suppressed due to low confidence (2)

02-context-conversations/README.md:351

  • In this tip, file names and commands are no longer consistently formatted as inline code: books.py, utils.py, /new, and /clear should be wrapped in backticks. Also, “Otherwise stale context…” reads like it’s missing a comma after “Otherwise,”.
> 💡 **When to use `/clear` or `/new`**: If you've been reviewing books.py and want to switch to discussing utils.py, run /new first (or /clear if you don't need the session history). Otherwise stale context from the old topic may confuse responses.

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

  • The /clear description here (“abandons the current session (no history saved)”) is more specific than the earlier “Clear conversation and start fresh” description in the Essential Slash Commands table. Please make the wording consistent across the chapter (and keep punctuation consistent too—this table’s /new row ends with a period while other rows don’t).
| `/clear` | Abandons the current session (no history saved) and starts a fresh conversation |
| `/compact` | Summarize conversation to reduce context usage |
| `/context` | Show context window token usage and visualization |
| `/new` | Ends the current session (saving it to history for search/resume) and starts a fresh conversation. |
| `/resume` | Switch to a different session (optionally specify session ID) |

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

DanWahlin and others added 3 commits March 31, 2026 12:47
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@DanWahlin DanWahlin merged commit f60156c into main Mar 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants