mirror of
https://github.com/github/awesome-copilot.git
synced 2026-04-12 03:05:55 +00:00
docs: update Learning Hub for CLI v1.0.11-v1.0.13 changes (#1229)
- copilot-configuration-basics: add /session rename auto-name feature, note that /clear preserves MCP servers in new session - understanding-mcp-servers: add Authentication section documenting OAuth, Microsoft Entra ID (no repeat consent screens), API keys, and non-standard Dynamic Client Registration support - installing-and-using-plugins: note that uninstalling a plugin removes its cached data from disk Sources: - https://github.com/github/copilot-cli/releases/tag/v1.0.13 - https://github.com/github/copilot-cli/releases/tag/v1.0.12 - https://github.com/github/copilot-cli/releases/tag/v1.0.11 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4a6858179f
commit
235f5740d4
@@ -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-03-28
|
||||
lastUpdated: 2026-03-30
|
||||
estimatedReadingTime: '10 minutes'
|
||||
tags:
|
||||
- configuration
|
||||
@@ -412,10 +412,19 @@ GitHub Copilot CLI has two commands for managing session state, with distinct be
|
||||
| Command | Behaviour |
|
||||
|---------|-----------|
|
||||
| `/new [prompt]` | Starts a fresh conversation while keeping the current session backgrounded. You can switch back to backgrounded sessions. |
|
||||
| `/clear [prompt]` | Abandons the current session entirely and starts a new one. Backgrounded sessions are not affected. |
|
||||
| `/clear [prompt]` | Abandons the current session entirely and starts a new one. Backgrounded sessions are not affected. MCP servers configured in your project are preserved in the new session. |
|
||||
|
||||
Both commands accept an optional prompt argument to seed the new session with an opening message, for example `/new Add error handling to the login flow`.
|
||||
|
||||
The `/session rename` command renames the current session. When called **without a name argument**, it automatically generates a session name based on the conversation history:
|
||||
|
||||
```
|
||||
/session rename # auto-generate a name from conversation history
|
||||
/session rename "My feature" # set a specific name
|
||||
```
|
||||
|
||||
Auto-generated names help you find sessions quickly when switching between multiple backgrounded sessions.
|
||||
|
||||
The `/rewind` command opens a timeline picker that lets you roll back the conversation to any earlier point in history, reverting both the conversation and any file changes made after that point. You can also trigger it by pressing **double-Esc**:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user