Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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-24
lastUpdated: 2026-03-25
estimatedReadingTime: '10 minutes'
tags:
- configuration
Expand Down Expand Up @@ -413,6 +413,22 @@ The `/undo` command reverts the last turn—including any file changes the agent

Use `/undo` when the agent's last response went in an unwanted direction and you want to try a different approach from that point.

The `/cd` command changes the working directory for the current session. Each session maintains its own working directory that persists when you switch between sessions:

Comment on lines +416 to +417
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

The new /cd docs make this section cover more than “two commands for managing session state” (it now discusses /new, /clear, /undo, and /cd). Please update the lead-in sentence and/or the table so the count and framing matches the commands documented here.

Copilot uses AI. Check for mistakes.
```
/cd ~/projects/my-other-repo
```

This is useful when you have multiple backgrounded sessions each focused on a different project directory.

The `--effort` flag (shorthand for `--reasoning-effort`) controls how much computational reasoning the model applies to a request:

```bash
gh copilot --effort high "Refactor the authentication module"
```

Accepted values are `low`, `medium`, and `high`. You can also set a default via the `effortLevel` config setting.
Comment on lines +424 to +430
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

--effort is a CLI flag rather than a “session command”, but it’s currently documented under the “CLI Session Commands” section. Consider moving this flag documentation to a separate CLI flags/options subsection (or earlier in the CLI config section) to avoid mixing interactive slash commands with startup flags.

Copilot uses AI. Check for mistakes.

## Common Questions

**Q: How do I disable Copilot for specific files?**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Using the Copilot Coding Agent'
description: 'Learn how to use GitHub Copilot coding agent to autonomously work on issues, generate pull requests, and automate development tasks.'
authors:
- GitHub Copilot Learning Hub Team
lastUpdated: 2026-02-26
lastUpdated: 2026-03-25
estimatedReadingTime: '12 minutes'
tags:
- coding-agent
Expand Down Expand Up @@ -267,7 +267,7 @@ Skills are stored in a `skills/` subdirectory, with each skill in its own folder

**Personal skills** (shared across all your projects):
```
~/.copilot/
~/.agents/
└── skills/
└── code-review-checklist/
└── SKILL.md
Expand Down
Loading