gitStatus key in ~/.claude/plugins/claude-hud/config.json.
Options
Show the git branch indicator. Set to
false to hide all git information.Append
* to the branch name when there are uncommitted changes.Show how many commits your local branch is ahead of or behind the remote.Counts of 0 are omitted, so a branch that is only ahead shows
↑2 without a ↓ indicator.Show per-file-status counts alongside the branch name. Compatible with Starship’s git stats format.
!= modified files+= added / staged files✘= deleted files?= untracked files
Display styles
- Branch only
- Branch + dirty
- With ahead/behind
- File stats
Shows only the branch name. Enable by setting
showDirty, showAheadBehind, and showFileStats all to false.Changing git style interactively
Run/claude-hud:configure and proceed to the Git Style step. The options map directly to the styles above:
| Interactive option | Config equivalent |
|---|---|
| Branch only | showDirty: false, showAheadBehind: false, showFileStats: false |
| Branch + dirty | showDirty: true, showAheadBehind: false, showFileStats: false |
| Full details | showDirty: true, showAheadBehind: true, showFileStats: false |
| File stats | showDirty: true, showAheadBehind: false, showFileStats: true |
Troubleshooting
Git status not showing?- Verify you are inside a git repository
- Check that
gitStatus.enabledis not set tofalsein your config