面向初学者的 GitHub Copilot 应用:编写你的第一条提示词
在请求 Copilot 执行修改前,它必须有可操作的对象。Agent 会话可连接至 GitHub 仓库或本地计算机上的文件夹,从而赋予 Copilot 完成任务所需的代码与文件访问权限。
原始摘录
Before you can ask Copilot to make a change, it needs something to work on. Agent sessions can be connected to a GitHub repository or a folder on your local machine, giving Copilot access to the code and files it needs for the task.