为你的代码仓库建立索引可以让 Devin 理解你的代码库,并启用 Ask Devin 和 DeepWiki 等强大功能。本快速指南将引导你完成索引流程。Documentation Index
Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
Use this file to discover all available pages before exploring further.
代码仓库索引与 环境配置 是相互独立的流程。索引用于启用代码搜索和理解功能,而环境配置则用于设置 Devin 的开发环境。
为代码仓库建立索引
- 前往 app.devin.ai,并确认已登录到你的组织
- 点击侧边栏中的 Settings 进入组织设置
- 选择 Repositories 选项卡以查看所有已连接的代码仓库
- 在你想建立索引的代码仓库上点击 Index repo

- 选择你希望 Devin 分析的分支

- 等待索引完成 —— 具体时间取决于代码仓库大小,可能需要几分钟

