鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

dsh-git-plus

dsh-better-sidebar 中的 DSH 源代码管理面板,尽量对齐 VS Code 的 Git 工作流。

代码评审
访问 GitHub
文档README

DSH Git Source Control

DSH plugin for DSH-better-sidebar: adds a Source Control tab that mirrors the common VS Code Git workflow.

Features

  • Registers a single Source Control tab through ctx.betterSidebar.registerTab
  • Shows current branch, upstream, ahead/behind, last commit, and change count
  • Groups files into Merge Changes, Staged Changes, Changes, and Untracked
  • Opens file changes in the built-in DSH-better-sidebar diff tab; this plugin does not render its own file diff UI
  • Supports stage, unstage, and discard
  • Supports stage all, unstage all, discard all, fetch, pull, and confirmed push
  • Supports commit messages, including an AI button that uses the configured DSH model to draft a message from staged changes
  • Supports branch checkout/create and stash push/apply/drop
  • Exposes host API routes under /git-source-control/api/*
  • Exposes model-facing tools: git_status, git_diff, git_stage, git_unstage, git_discard, git_generate_commit_message, git_commit, git_branch, git_stash, git_fetch, git_pull, git_push

Usage

Load this plugin together with dsh-better-sidebar.

For GitHub installs, add the repository directly with dsh plugin add github:MarioLuLu7/dsh-git-plus.

▼
bash
复制代码
npm install npm run build npm test

Optional environment variables:

  • DSH_GIT_REPOSITORY_ROOT: fixed repository root; otherwise the current session cwd is used
  • DSH_GIT_AUTO_REFRESH_MS: refresh interval, default 3000
  • DSH_GIT_PULL_MODE: ff-only, rebase, or merge
  • DSH_GIT_CONFIRM_PUSH: requires confirm: true for push unless set to false
代码评审

快捷安装

复制到终端去安装插件

dshplugin--profilewebaddgithub:MarioLuLu7/dsh-git-plus

温馨提示

装插件等于在本机跑第三方代码,权限与你相同,能读文件、用凭据、访问网络,工具审批管不到。请只装可信来源,并尽量锁定 commit。

站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
dsh 插件推荐
dsh-code-review
提供 /review、/review-status 和 /review-cancel,用独立原生子 Agent 审查所选 Git 范围(基准分支、未提交更改、某次提交或自定义要求),并把发现报告返回当前会话;报告语言跟随宿主 locale,支持中英文。
AgentsGitFlowController
AI 编码智能体分支角色守卫:可配置集成/预览/生产/归档角色,拦截对受保护分支的直接推送、强推与删除,以及智能体对生产/归档分支的合并。
dsh-github-mcp-hint
GitHub MCP 辅助面板:在「设置 → 插件 → GitHub MCP」展示可复制的示例提示(30 条示例池随机 4 条)、可视化公开仓库的星/fork/语言,并提供 gh_repo_stats / gh_current_user 模型工具。
dsh-github-mcp
把 GitHub 官方远程 MCP server 封装为 DSH 插件:PAT 存入 DSH 凭据中心(.credentials.yaml),提供 github_set_token / github_token_status 模型工具,GitHub 工具以 mcp__github__* 形式可用。
source-code-mgmt
DSH 网页界面的代码管理面板,五步搞定 Git 日常:① 环境检查自动检测 git/gh/ssh,缺工具一键安装(gh 支持镜像下载源加速,Windows 也可用)并带检查更新;② SSH ed25519 密钥生成/连接测试 + 一键写 443 配置绕过 22 端口封锁,Gitee 私人令牌在此配置;③ 查看仓库状态、并排 diff、暂存提交、切换分支、查看/回滚历史,一键新建仓库并推送,自动忽略超 100MB 文件;④ 列出账号名下所有远程仓库一键克隆;⑤ 五步发布 npm 包。支持 GitHub / Gitee 双平台,界面中英文跟随 DSH 设置实时切换。
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
零感AI零感AI
墨得问题墨得问题