dsh-auto-git
dsh profile bundle: git init every newly registered Workspace so the git-graph branch chip works in every workspace 适合希望所有工作区自动成为 git 仓库的用户,默认也会处理已有工作区。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhitiaojun/dsh-auto-git配置
安装后由 profile 的 bundle patch(cordis.patch.yml)提供行配置,改完重启 dsh web 生效:
| 字段 | 默认 | 含义 |
|---|---|---|
enabled | true | 总开关,false 时插件什么都不装 |
branch | main | 初始分支名(`git init -b |
,老版本 git 回退到 git symbolic-ref`) | ||
initialCommit | true | 是否补一个空提交(关闭则新仓库分支名可能显示为 detached) |
sweepExisting | true | 是否也处理已注册的工作区;false 则只处理以后新注册的 |
timeoutMs | 30000 | 每条 git 命令的超时 |