docs: recover PR #22 updates (rewind, allow-all, rename)#24
Merged
Conversation
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>
Contributor
There was a problem hiding this comment.
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
/rewindtimeline picker and add guidance on when to use it. - Update
/allow-alldocumentation to includeon|off|showsubcommands. - 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/clearshould 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
/cleardescription 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/newrow 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.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recovers Lost Changes from PR #22
PR #22 was merged into the
stagedbranch, which was subsequently deleted — so those changes never reachedmain. This PR recovers those exact changes.Changes Recovered
/rewindtimeline picker — documented in Ch 01 (commands table) and Ch 02 (context management)/allow-all on|off|show— updated subcommand documentation in Ch 01/renameauto-generate — updated description in Ch 01/new,/rewindin Ch 02Original PR: #22