- Home
- Plugin
- Git e code review
- dsh-git-plus
M
dsh-git-plus
mariolulu7/dsh-git-plus
DSH Source Control tab in dsh-better-sidebar that mirrors VS Code Git workflows.
Installazione
dsh plugin --profile web add github:mariolulu7/dsh-git-plusREADME
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 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
Plugin correlati
Z
dsh-web (dsh-git-graph)
zhu1090093659/dsh-web
7.9k13 ore faGit e code reviewApache-2.0
Z
dsh-web-ui (dsh-git-graph)
zhu1090093659/dsh-web-ui
6.3k25 giorni faGit e code reviewApache-2.0
A
codex-guard (dsh)
akimiya-z/codex-guard
1393 giorni faGit e code reviewMIT
L
dsh-file-review
left0ver/dsh-file-review
418 giorni faGit e code reviewMIT