From 084517eb592f6b63db66cb7ee5bbe7023afb550e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 05:05:54 +0000 Subject: [PATCH 1/2] docs(learning-hub): sync cli-for-beginners from upstream (2026-06-26) Add scheduling commands (/every, /after), model family shortcuts tip, and agent session-scope note from upstream commit b041e0d. Changes mirrored from github/copilot-cli-for-beginners: - Ch01: Add /every and /after to Session command table (v1.0.61+) - Ch01: Add 'Auto' model tip and Model family shortcuts tip (v1.0.64-1) - Ch04: Add agent mode session-scoped note (v1.0.63) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../cli-for-beginners/01-setup-and-first-steps.md | 13 ++++++++----- .../04-agents-and-custom-instructions.md | 7 +++---- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/website/src/content/docs/learning-hub/cli-for-beginners/01-setup-and-first-steps.md b/website/src/content/docs/learning-hub/cli-for-beginners/01-setup-and-first-steps.md index dc6141a31..8ddb9a37e 100644 --- a/website/src/content/docs/learning-hub/cli-for-beginners/01-setup-and-first-steps.md +++ b/website/src/content/docs/learning-hub/cli-for-beginners/01-setup-and-first-steps.md @@ -3,10 +3,7 @@ title: '01 ยท First Steps' description: 'Experience your first GitHub Copilot CLI demos and learn the three main interaction modes.' authors: - GitHub Copilot Learning Hub Team -lastUpdated: 2026-06-19 ---- - -![Chapter 01: First Steps](/images/learning-hub/copilot-cli-for-beginners/01/chapter-header.png) +lastUpdated: 2026-06-26(/images/learning-hub/copilot-cli-for-beginners/01/chapter-header.png) > **Watch AI find bugs instantly, explain confusing code, and generate working scripts. Then learn three different ways to use GitHub Copilot CLI.** @@ -437,7 +434,9 @@ That's it for getting started! As you become comfortable, you can explore additi | `/usage` | Display session usage metrics and statistics | | `/session` | Show session info and workspace summary | | `/compact` | Summarize conversation to reduce context usage | -| `/share` | Export session as markdown file or GitHub gist | +| `/share` | Export session as a markdown file, GitHub gist, or self-contained HTML file | +| `/every ` | Schedule a prompt to run on a recurring interval (e.g., `/every 1h summarize new commits`). Use natural language for the interval. `/loop` is an alias for `/every`. | +| `/after