dsh-git-idea
A git panel inside the DSH session: a repository chip in the composer, a panel with the branch tree, commit graph, working tree and commit detail, a Settings page, and 8 git model tools. 适合需要在会话中查看分支树、提交历史并让 Agent 辅助 Git 操作的开发者。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mays-hi/dsh-git-ideaREADME
Read the full README ↗使用
面板打开时停在历史页;变更 页签上带未提交文件数。
手势(和 IDEA 的树一致):
| 行 | 单击 | 双击 / 点三角 |
|---|---|---|
| 目录行(分支树、变更树、提交文件树) | 只选中 | 展开 / 折叠 |
| 未跟踪目录(git 折叠成一行的那种) | 只选中,不发读取 | 读取并展开 |
| 分支行 | 只选中 | 把历史切到该分支 |
| 分组标题(HEAD / 本地 / 远程) | 只选中 | 展开 / 折叠 |
| 文件行 | 打开差异 | — |
| 分组标题最左的复选框 | 整组进 / 出索引 | — |
仓库范围:看的是会话工作区它自己——只检查 /.git,不向上查找父目录,也不看子目录。