Skip to main content

Managing Copilot Memory for your personal account

Review and manage the coding conventions, preferences, and other details that Copilot has stored from your interactions.

谁可以使用此功能?

Individual users on a paid Copilot plan.
Sign up for Copilot

注意

This feature is currently in 公开预览 and is subject to change.

Copilot内存 lets Copilot learn about your codebase and your personal preferences, helping Copilot agents work more effectively. For more information, see 关于GitHub Copilot内存.

Copilot内存 is enabled for your account by default if:

  • You are on a paid, individual Copilot plan.
  • Your plan is managed by an enterprise or organization that has allowed you to use Copilot内存.

In either case, you can disable or re-enable Copilot内存 at any time in your personal Copilot settings.

Disabling or enabling Copilot内存

When enabled, Copilot内存 will be used in any repository in which you use a supported Copilot feature. Both repository-level facts and user-level preferences will be saved.

  1. 在 GitHub 任意页面的右上角,单击你的个人资料图片,然后单击 “Copilot settings”****。
  2. Under "Features", scroll down to the setting for Copilot内存.
  3. Click the dropdown button and select Enabled or Disabled.

Selecting a default billing entity

If you receive Copilot access through multiple enterprises or organizations, you must select a default billing entity in order to generate user-level preferences with Copilot内存. The billing entity determines which account "owns" (can manage and delete) preferences that are generated for your account. Do this in your account settings.

Viewing and deleting repository-level facts

As an owner of a repository in which Copilot内存 is in use, you can review the currently stored repository-level facts. If you think any are inappropriate, misleading, or incorrect, you can delete them.

  1. 在 GitHub 上,导航到存储库的主页面。

  2. 在仓库名称下,单击 “Settings”****。 如果看不到“设置”选项卡,请选择“”下拉菜单,然后单击“设置”。

    存储库标头的屏幕截图,其中显示了选项卡。 “设置”选项卡以深橙色边框突出显示。

  3. In the "Code & automation" section of the sidebar, click Copilot, then click Memory.

  4. You will see a list of repository-level facts, which you can delete as needed.

Viewing and deleting your user-level preferences

Copilot内存 stores preferences for your personal use of Copilot.

  1. 在 GitHub 任意页面的右上角,单击你的个人资料图片,然后单击 “Copilot settings”****。
  2. In the sidebar, under Copilot, click Memory.
  3. You will see a list of your user-level preferences, which you can delete as needed.

Further reading