DSH Source Control tab in dsh-better-sidebar that mirrors VS Code Git workflows.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:MarioLuLu7/dsh-git-plus
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
DSH plugin for DSH-better-sidebar: adds a Source Control tab that mirrors the common VS Code Git workflow.
Features
- Registers a single
Source Controltab throughctx.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-sidebardiff 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
AIbutton 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.
npm install
npm run build
npm test
Optional environment variables:
DSH_GIT_REPOSITORY_ROOT: fixed repository root; otherwise the current session cwd is usedDSH_GIT_AUTO_REFRESH_MS: refresh interval, default3000DSH_GIT_PULL_MODE:ff-only,rebase, ormergeDSH_GIT_CONFIRM_PUSH: requiresconfirm: truefor push unless set tofalse
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-git-graph★ 10686
Git branch selector and Git graph for the dsh web GUI: switch branches and explore branch-lane and commit history from the conversation header. Retired by the author in favour of the official workspace-changes plugin: the published npm package stays installable but is no longer developed.
Akimiya-z/codex-guard#dsh★ 131
Pre-submit pull-request hygiene checks inside DeepSeek Harness: scans the current diff for TODO leftovers, hardcoded secrets, and non-conventional commit subjects.
xbzbing/dsh-git-panel★ 65
IDE-style Git panel in the DSH Web GUI: a resident tab with a three-column overview (branch/tag list, searchable commit-history graph, commit detail with changed-file tree and message) and a changes page (stats bar, uncommitted list with per-file stage/unstage/discard, commit box with amend); side-by-side diffs carry lazy highlight.js syntax highlighting, on-demand between-hunk context expansion and word-level intra-line emphasis, with image files shown as before/after panes; plus a zsh-style branch marker in the input bar. Every git command runs as an argv array through the host subprocess service, cwd locked to the repo root.
Cerbur/clutch-dsh#clutch-dsh-worktree★ 49
Adds a Worktree view to DSH Web UI that groups Sessions by Git worktree while keeping DSH as the source of truth.
KannaKuron/dsh-ide-git★ 41
JetBrains-style Git tool window for the sidebar: branch tree with ahead/behind badges, commit graph with text/author/date/path filters, per-file line diff, changes list and commit box, plus branch, tag and stash actions, merge, rebase, cherry-pick, reset and fetch/pull/push.
Lenonss/DSH_VsCodeMode★ 36
VSCode-style editing experience for DeepSeek Harness: a Monaco-based central file editor (tabs, Ctrl+P quick open, status bar) and interactive diff review of agent edit/write results with per-change Keep/Undo, rollback and archiving, persisted across restarts.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.