dsh-git4idea

IDEA-style Git tool window for DSH: branch tree with ahead/behind badges, commit graph with text/branch/author/date/path filters, staged and unstaged changes with a commit box, commit details with per-file line diff, stash and worktree management, a git console log, and AI commit-message drafting. Fork of KannaKuron/dsh-ide-git (MIT), reworked to register native DSH entries instead of depending on dsh-better-sidebar and extended with worktree management, undo for branch, stash and discard actions, a git console log and AI commit-message drafting. Its plugin, route and sidebar-tab ids differ from the upstream, so both can be installed, but you get two Git tool windows.

Overview

IDEA-style Git tool window for DSH: branch tree with ahead/behind badges, commit graph with text/branch/author/date/path filters, staged and unstaged changes with a commit box, commit details with per-file line diff, stash and worktree management, a git console log, and AI commit-message drafting. Fork of KannaKuron/dsh-ide-git (MIT), reworked to register native DSH entries instead of depending on dsh-better-sidebar and extended with worktree management, undo for branch, stash and discard actions, a git console log and AI commit-message drafting. Its plugin, route and sidebar-tab ids differ from the upstream, so both can be installed, but you get two Git tool windows.

Installation

Install from npm

dsh plugin --profile web add @guojinpeng/dsh-git4idea

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.

Install from GitHub

dsh plugin --profile web add github:guojinpeng/dsh-git4idea

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands