Skip to content

Conversation

Nao-Mk2
Copy link

@Nao-Mk2 Nao-Mk2 commented Sep 26, 2025

Why:

Closes:

The documentation stated that the CLI configuration is "located, by default, in the ~/.config directory." However, after installing and using GitHub Copilot CLI on macOS, the actual configuration directory created was ~/.copilot (for example: ~/.copilot/config.json).
This PR updates the wording to reflect the default location observed on macOS, and to reduce confusion for users who look for the file in ~/.config and cannot find it.

What's being changed (if available, include any code snippets, screenshots, or gifs):

Updated the sentence in the "Trusted directories" section to correct the default configuration directory from ~/.config to ~/.copilot.

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

@Copilot Copilot AI review requested due to automatic review settings September 26, 2025 10:11
Copy link

welcome bot commented Sep 26, 2025

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR corrects documentation about the default configuration directory path for GitHub Copilot CLI. The documentation incorrectly stated that the CLI configuration is located in ~/.config by default, when it's actually located in ~/.copilot on macOS systems.

Key Changes

  • Updated the default configuration directory path from ~/.config to ~/.copilot in the trusted directories section

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Sep 26, 2025
Copy link
Contributor

github-actions bot commented Sep 26, 2025

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
copilot/concepts/agents/about-copilot-cli.md fpt
ghec
fpt
ghec

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@Sharra-writes
Copy link
Contributor

@Nao-Mk2 Thanks for opening a PR! I'm trying to figure out how to validate this one. I feel like I should be able to install it and check, but I'll probably end up reaching out to our SMEs.

@Sharra-writes Sharra-writes added content This issue or pull request belongs to the Docs Content team copilot Content related to GitHub Copilot github cli Content related to GitHub CLI and removed triage Do not begin working on this issue until triaged by the team labels Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content This issue or pull request belongs to the Docs Content team copilot Content related to GitHub Copilot github cli Content related to GitHub CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants