简介
Copilot 可以帮助你快速获得 GitHub 上长篇讨论和议题的上下文。 可以要求 Copilot 汇总讨论、确定关键参与者,并提供有关议题或讨论状态的见解。
在处理具有很长正文或大量注释的议题或讨论时,Copilot对话 回复的质量可能会下降。 例如,当你要求 Copilot 总结某个持续时间较长的讨论时,可能会出现这种情况。 发生这种情况时,Copilot 将发出警告,以便你仔细查看其输出。
探究议题和讨论
-
导航到有关 GitHub的问题或讨论。
-
在右上角单击 Copilot 图标(),以打开 Copilot对话。
Copilot 会自动加载议题或讨论的内容,作为你提问时的上下文。
-
在提示框中,键入问题,然后按 Enter。
Copilot 会在面板中响应你的请求。
提示
你无需在浏览器中跳转到某个议题或讨论页面再提问,只需在消息中包含相关 URL 即可。 例如,
Summarize https://github.com/monalisa/octokit/issues/1。
示例提示
以下提示是一些你可以向 Copilot 提出的问题示例,可以帮助你了解议题和讨论。
一般问题
Summarize this issueWhat is the current status of this discussion?What are the main points of contention in this issue?Who are the key participants in this discussion?
具体问题
What are the proposed solutions for this issue?What are the potential impacts of this issue?What are the next steps for this discussion?
其他阅读材料
-
[AUTOTITLE](/copilot/tutorials/using-copilot-to-explore-a-codebase#further-reading)