---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# Gemini 集成 GitHub，代码问答更便捷

Source: https://www.zaihua.news/article/32498/

[返回新闻流](https://www.zaihua.news/)
2025年5月1日 · 08:04 · [在花新闻](https://www.zaihua.news/about/)

# Gemini 集成 GitHub，代码问答更便捷

Google Gemini 将推出 GitHub 应用扩展，继 Spotify 和 WhatsApp 后又一第三方集成。开发者可在 Gemini 中连接代码库。

用户可让 Gemini 理解代码结构、回答特定函数问题、提供代码优化建议以及协助调试程序错误，提升开发效率。

通过网页版导入仓库（限一个，有大小限制），私有库需账户关联。该集成无法获取 commit 历史或写入代码。

[9to5Google](https://9to5google.com/2025/04/30/gemini-github-app/)

📮[投稿](http://t.me/ZaiHuabot) ☘️[频道](http://t.me/zaihuanews) 🌸[聊天](http://t.me/zaihuachat)

[上一条美国经济意外萎缩 0.3%！特朗普：都怪拜登，关税将带来空前繁荣](https://www.zaihua.news/article/32496/)[下一条安卓或迎重大UI更新：模糊效果与新设计曝光](https://www.zaihua.news/article/32499/)
