GitHub 移动版:用 Copilot 云端代理修复合并冲突
英文标题:GitHub Mobile: Fix merge conflicts with Copilot cloud agent
GitHub Mobile 现已支持通过 Copilot 云端代理自动修复拉取请求的合并冲突,用户可直接在移动端合并框中点击“Fix with Copilot”一键发起请求。该功能会预填请求评论并启动云端代理,同时提供清晰的反馈。此外,开发者仍可通过 @copilot 处理修复工作流、处理代码审查等任务。这一更新让移动开发中的合并阻塞得以快速解除,进一步增强了 GitHub Copilot 在协作流程中的实用性。
115.1 KB
17.7 KB
1017.0 KB
中文
GitHub Mobile 现在支持通过 Copilot 云端代理修复拉取请求的合并冲突,让您在移动中也能轻松解除拉取请求的阻塞。
当拉取请求存在合并冲突时,您现在可以直接在移动端从拉取请求合并框启动 Copilot 工作流。点击 Fix with Copilot 可预填一个请求 Copilot 解决冲突的评论,然后提交即可启动 Copilot 云端代理。
这将“修复合并冲突”的简化体验带到了 GitHub Mobile,您可以:
- 在移动应用中查看合并冲突警报。
- 从拉取请求合并框启动 Copilot 云端代理。
- 通过预填的提示要求 Copilot 解决冲突。
- 当请求成功或出错时获得清晰的反馈。
您还可以继续在拉取请求评论中提及 @copilot 来让 Copilot 协助其他任务,例如:
- 修复失败的 GitHub Actions 工作流。
- 处理代码审阅评论。
- 添加测试或进行后续代码更改。
此功能现已在最新生产版本的 GitHub Mobile 中提供,适用于 iOS 和 Android。
加入 GitHub 社区 中的讨论。
English / 原文
GitHub Mobile now supports fixing pull request merge conflicts with Copilot cloud agent, making it easier to unblock pull requests while you’re on the go.
When a pull request has merge conflicts, you can now start the Copilot workflow directly from the pull request merge box on mobile. Tap Fix with Copilot to prepopulate a comment asking Copilot to resolve the conflicts, then submit it to launch Copilot cloud agent.
This brings the streamlined “fix merge conflicts” experience to GitHub Mobile, so you can:
- View merge conflict alerts in the mobile app.
- Start Copilot cloud agent from the pull request merge box.
- Ask Copilot to resolve conflicts with a prefilled prompt.
- Get clear feedback when the request succeeds or if something goes wrong.
You can also continue to mention @copilot in pull request comments to ask Copilot to help with other tasks, such as:
- Fixing failing GitHub Actions workflows.
- Addressing code review comments.
- Adding tests or making follow-up code changes.
This is now available on the latest production build of GitHub Mobile on iOS and Android.
Join the discussion within GitHub Community.