Skip to main content

Concepts for providing context to GitHub Copilot

Learn how GitHub Copilot gathers contextual information to provide relevant responses to your prompts.

关于模型上下文协议 (MCP)

模型上下文协议 (MCP) 是一种协议,你可通过该协议将 GitHub Copilot 与其他系统集成以扩展其功能。

关于使用 GitHub Copilot Spaces 组织和共享上下文

了解如何使用 Copilot Spaces 收集上下文,从而提升结果质量并协助团队成员。

Indexing repositories for GitHub Copilot Chat

GitHub Copilot Chat improves responses to questions about code by indexing your repositories.

GitHub Copilot 的内容排除功能

可以阻止 Copilot 访问某些文件。

GitHub Copilot knowledge bases

Knowledge bases allow you to bring together Markdown documentation across one or more repositories, which can then be used as context for Copilot 对话助手.

About GitHub Copilot Extensions

Learn about Copilot 扩展.