git-guard 0.1.0
Saves a git bundle of the repository before Bash commands that rewrite or delete git history: force pushes, filter-repo, reset --hard, branch and tag deletes.
Install
/plugin marketplace add ShaKy8/Claude-Mods /plugin install git-guard@claude-mods
Run both lines inside Claude Code.
Hooks into
- Status line
- Tool calls
- Toasts
Also in ShaKy8/Claude-Mods
More git mods
- git-sidebar 0.1.0 A lazygit-style side pane: every worktree of the repository and its local branches as rows you click. A worktree row moves the session there with /cd; a branch row shows its last commits and offers switch (clean tree only) or open worktree. Docked floor to ceiling beside the transcript in the ful... 33.9k
- diffr 0.1.0 Review diffs with diffr in a pane 3.5k
- time-machine 0.1.7 Agent Time Machine: a branching timeline of tool calls with shadow-git snapshots — inspect, diff, explain test failures, restore, branch, compare, re-run 876
- md-preview 0.1.11 Shows the Markdown files Claude edits, rendered like GitHub, in a pane next to the chat. Before and after side by side. /md opens it. 496
- branch-board 1.0.0 Inspect local branches, upstreams, and dirty files. 124