zhitiaojun/dsh-auto-git ↗★ 0

dsh-auto-git

dsh profile bundle: git init every newly registered Workspace so the git-graph branch chip works in every workspace 适合希望所有工作区自动成为 git 仓库的用户,默认也会处理已有工作区。

Package
dsh-auto-git
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Sep 15, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhitiaojun/dsh-auto-git

配置

安装后由 profile 的 bundle patch(cordis.patch.yml)提供行配置,改完重启 dsh web 生效:

字段默认含义
enabledtrue总开关,false 时插件什么都不装
branchmain初始分支名(`git init -b
,老版本 git 回退到 git symbolic-ref`)
initialCommittrue是否补一个空提交(关闭则新仓库分支名可能显示为 detached)
sweepExistingtrue是否也处理已注册的工作区;false 则只处理以后新注册的
timeoutMs30000每条 git 命令的超时