Event Hooks
Community

git

1 event · 1 hook

Install
1
Install the plugin
$
npx claudepluginhub harry-jk/claude-plugin --plugin git

Want just this hook?

Then install: npx claudepluginhub u/[userId]/[slug]

Risk Indicators
Executes bash commands
Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/detect-git.sh",
          "timeout": 5
        }
      ],
      "matcher": "Bash"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 1
  },
  "eventStats": {
    "PreToolUse": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 1,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Stars0
Forks0
Last CommitMar 4, 2026

Similar Hooks