dsh-next-git

DSH Web 右侧边栏的 Git tab,跟随当前会话的仓库:下拉切换本地/远程分支(带 ahead/behind),按 staged/unstaged/untracked/conflicted 分组暂存,提交、fetch、pull、push(无 upstream 时自动建跟踪分支),用默认模型按已暂存 diff 起草约定式提交信息(模型不可用时降级为普通 chore 文案),并以每条分支一种颜色的形式渲染 git log --graph 和词级高亮的 diff。

插件介绍

DSH Web 右侧边栏的 Git tab,跟随当前会话的仓库:下拉切换本地/远程分支(带 ahead/behind),按 staged/unstaged/untracked/conflicted 分组暂存,提交、fetch、pull、push(无 upstream 时自动建跟踪分支),用默认模型按已暂存 diff 起草约定式提交信息(模型不可用时降级为普通 chore 文案),并以每条分支一种颜色的形式渲染 git log --graph 和词级高亮的 diff。

安装方式

通过 npm 安装

dsh plugin --profile web add @caozeal/dsh-next-git

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令