Skip to main content
在 Manus 中运行任何 Skill
一键导入
$pwd:

repo-local-git-hooks

// Detect and repair cases where repository-local Git hooks are bypassed by a global core.hooksPath, especially on macOS machines managed by nix-darwin/home-manager that inject global gitleaks/git-hooks paths. Use when CI catches lint/format/test issues that pre-commit or pre-push should have caught, when .git/hooks exists but Git ignores it, when installing pre-commit refuses because core.hooksPath is set, or when a repo needs local pre-commit/pre-push hooks to override global hooks.

$ git log --oneline --stat
stars:0
forks:0
updated:2026年5月15日 07:35
文件资源管理器
3 个文件
SKILL.md
readonly