Update Learning Hub for Copilot CLI v1.0.71-v1.0.72 features

- copilot-configuration-basics.md: Split /worktree and /move into separate
  commands with distinct behaviors (worktree leaves changes, move carries them);
  document plan mode workspace-modification hard-block (v1.0.71+)
- agents-and-subagents.md: Document multi-turn subagents always enabled (v1.0.72);
  note default max subagent depth lowered from 6 to 4 (v1.0.71)
- working-with-canvas-extensions.md: Document canvas support in CLI (v1.0.71)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-07-18 20:59:42 +00:00
committed by GitHub
parent 26fe2d126b
commit f6827326c6
3 changed files with 25 additions and 7 deletions
@@ -3,7 +3,7 @@ title: 'Copilot Configuration Basics'
description: 'Learn how to configure GitHub Copilot at user, workspace, and repository levels to optimize your AI-assisted development experience.'
authors:
- GitHub Copilot Learning Hub Team
lastUpdated: 2026-07-13
lastUpdated: 2026-07-18
estimatedReadingTime: '10 minutes'
tags:
- configuration
@@ -541,7 +541,7 @@ The `/cd` command changes the working directory for the current session. Since v
This is useful when you have multiple backgrounded sessions each focused on a different project directory.
The `/worktree` command (v1.0.61+, also aliased `/move`) creates a new git worktree and switches into it, moving any uncommitted changes along. This lets you start working on a parallel branch without leaving your current terminal session:
The `/worktree` command (v1.0.61+) creates a new git worktree and switches into it, **leaving your uncommitted changes in the current branch**. Use this when you want a clean slate in the new worktree and intend to stash or discard your in-progress changes separately:
```
/worktree my-feature-branch
@@ -555,7 +555,15 @@ In v1.0.66+, you can pass a task description to `/worktree` to name the branch f
This creates a branch named from your task description and begins working on it immediately, making it easy to spin up parallel work without stopping to think of a branch name.
After the command runs, the session is inside the new worktree. Use this when you want to work on a second task in parallel without stashing changes or opening a new terminal. In v1.0.64+ you can also use the experimental `--worktree` flag at startup (`copilot -w [name]`) to create or reuse a worktree under `<repo>.worktrees/` before the session begins.
The `/move` command (v1.0.71+) is the companion to `/worktree` and **carries your uncommitted changes into the new worktree**. Use `/move` when you have in-progress work that you want to continue on a new branch:
```
/move my-feature-branch
```
Before v1.0.71, `/move` was an alias for `/worktree` and always moved uncommitted changes. The split gives you deliberate control: `/worktree` to leave changes behind, `/move` to take them with you.
After either command runs, the session is inside the new worktree. Use these when you want to work on a second task in parallel without opening a new terminal. In v1.0.64+ you can also use the experimental `--worktree` flag at startup (`copilot -w [name]`) to create or reuse a worktree under `<repo>.worktrees/` before the session begins.
The `/every` command (also available as `/loop` since v1.0.64) schedules a recurring prompt to run automatically at a specified interval. The companion `/after` command runs a prompt once after a specified delay. Both are useful for self-paced automation — polling for results, periodically summarizing progress, or triggering other slash commands on a timer:
@@ -744,6 +752,8 @@ copilot --plan # start in plan mode (propose without executing)
This is useful in scripts or CI pipelines where you want the CLI to immediately begin working in a specific mode without an interactive prompt.
> **Plan mode workspace protection (v1.0.71+)**: Plan mode now **hard-blocks built-in tool calls that would modify the workspace**, so the agent cannot edit files or run mutating shell commands while planning. Built-in mutators like opening a pull request are also blocked; MCP and external tools remain allowed. This ensures plan output is a safe, non-destructive proposal you can review before switching to agent mode.
The `--max-autopilot-continues` flag controls how many times Copilot can automatically continue in autopilot mode before pausing for confirmation. The default is 5:
```bash