AI Agent Hub
Back to plugins
🖥️

dsh-git-branch

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install Rock-ql/dsh-git-branch

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install Rock-ql/dsh-git-branch in a DeepSeek Harness terminal to install this plugin; the full source repository is available at https://github.com/Rock-ql/dsh-git-branch . Restart DSH Desktop after installation.

About this plugin

Switching Git branches in DSH Desktop used to mean breaking out of the chat, hunting for a terminal, and typing a sequence of commands. dsh-git-branch folds that step right into the composer: a small pill on the left shows the current branch, detached-HEAD state, dirty indicator, and how many commits you are ahead or behind upstream.

Click the pill and a filterable list of local and remote refs appears, fully navigable with the keyboard. Local branches check out instantly; a remote ref without a local counterpart gets an automatic checkout -t. You can also cut a new branch from the current HEAD and land on it in one action. An explicit, confirm-gated Fetch is available if you want to refresh remotes, but the plugin never auto-fetches, pulls, or pushes, and it registers zero git tools for the model, keeping the boundary clean.

It is built for developers who juggle multiple branches while working inside DSH Desktop. The pill stays hidden when the workspace is not a git repository, so there is no visual noise. When a checkout hits uncommitted-changes conflicts, the raw git error is surfaced as-is and --force is never applied, leaving the decision with the human. The result is a lightweight, predictable branch manager that lives inside the conversation flow instead of pulling you out of it.

Use Cases

  • Switch between local or remote git branches without leaving the DSH Desktop chat
  • Create a new branch from the current HEAD and start working instantly
  • Glance at dirty state and upstream ahead/behind at a time

Best For

  • Developers juggling multiple branches inside DSH Desktop
  • Workflow users who prefer inline actions over switching to a terminal
  • Cautious users who want clear git boundaries with no auto push or pull