HydraGit Docs
v0.3.1

Repository health banners

Calm, inline banners that turn three classic git footguns into one-click fixes — instead of cryptic error walls.

Detached-HEAD banner

Entry points

  • Main panelAppears automatically when status.detached is true (e.g. after checking out a commit).

What happens next

  1. The banner reads: "You're not on a branch (detached HEAD). Create one here to keep your work."
  2. Click Create branch here → prompted for a name → branch.create at the current commit, so work isn't stranded.

Git identity setup user.set

Entry points

  • Main panelAppears when user.name / user.email are unset.

What happens next

  1. Instead of the cryptic "Please tell me who you are", the banner offers inline setup.
  2. Click Set up identity → enter name + email → user.set writes them globally.

Critical-error reload

  1. If the Go backend dies unexpectedly, the extension surfaces a "Reload Window" prompt.
  2. Reloading respawns the binary and restores the panel.