在 DSH 每次注册新工作区时自动 git init 并补一个空提交;已在工作树内的目录会被跳过。
dsh plugin --profile web add github:zhitiaojun/dsh-auto-git
这个插件还没测过。提交测试 →
GitHub · Homepage · npm