dsh-worktree-branch:在 DSH 新建会话页切换 worktree 与分支
dsh-worktree-branch 是 Qcsj777 维护的 DSH 客户端插件,在新建会话页为 Git 工作区提供 Codex 风格的 Location/Branch chip,支持查看与切换 worktree、切换或新建分支。Git 由 Host 半执行并剥离 GIT_* 环境变量,写操作受会话沙箱约束;不含 pull/push、删除与 merge/rebase。安装命令为 dsh plugin --profile desktop add github:Qcsj777/dsh-worktree-branch,要求 DSH >=0.2.1-rc.2 且 git 在 PATH 中。
阅读全文