Wongzexu/dsh-git-status

Specialized in Git branch and status handling: a Git status drawer on the right edge of the DSH web UI with a commit DAG lane graph, uncommitted changes and stash rows, inline diffs, right-click branch/tag actions, and one-click fetch from all remotes.

A Git status / Git Graph floating panel on the right edge of the DSH Web UI: commit DAG lane graph (first-parent chains, greedy leftmost column assignment, lane reuse, merge links) with inline refs badges (HEAD/branch/remote/tag), uncommitted-changes virtual row with staged/unstaged classification, stash display from git reflog, inline commit details with per-file diffs, and full branch operations — switch, merge (merge commit / NoFF / squash with conflict takeover bar), rename, delete, rebase (non-interactive, red confirmation), reset (Soft/Mixed/Hard with ancestor guard), cherry-pick, revert, pull & merge, fetch --all, push with set-upstream and force modes, tag create/push/delete, new-branch dialogs, and stash apply/pop/branch/drop. SSE live refresh via /git/events with a 10s polling fallback; 269 test cases; session-isolated write routes with CSRF protection.

UI Enhancements ★ 4 updated 2026-08-26
View on GitHub ↗

Install

dsh plugin --profile web add @wongzexu/dsh-git-status

dsh plugin --profile web add @wongzexu/dsh-git-status (npm @wongzexu/dsh-git-status 1.0.0, verified on npm 2026-08-30), from GitHub dsh plugin --profile web add github:Wongzexu/dsh-git-status, or a local directory. Caution: an unrelated unscoped npm package dsh-git-status exists — install the scoped name. Requires git CLI on PATH; zero third-party deps.

Compatibility

DSH web profile; platform: web; requires system git; zero runtime npm deps (pure DOM rendering, greeter mode, no React/build chain); MIT.

Details

Recent updates

Right-edge Git floating panel; DAG lane graph + refs badges; uncommitted/stash rows; full branch ops (merge/rebase/reset/cherry-pick/revert/pull/push); SSE live refresh; 269 tests; session-isolated + CSRF-protected routes.

FAQ

Which operations are supported?
Everything from viewing (DAG graph, diffs, stashes) to branch management: switch, merge (merge/NoFF/squash), rename, delete, rebase, reset, cherry-pick, revert, pull, fetch, push and tag operations — all behind confirmation dialogs where history is rewritten.
Is it safe on shared sessions?
Write routes are session-isolated to the session's authoritative workspace and require POST + application/json (CSRF protection); paths are validated against traversal.
How does the panel refresh?
SSE subscription on /git/events pushes changes from other terminals within ~2s; a 10s polling fallback covers disconnects.

Alternatives

WhitePlusMS/dsh-git-graph · banlanzs/dsh-web-enhanced · LaoYueHanNi/dsh-git-worktree

More plugins in UI Enhancements

Browse more in UI Enhancements

Guides for UI Enhancements plugins