File size: 327 Bytes
b855ced | 1 2 3 4 5 6 7 8 | #!/usr/bin/env bash
# Point git at the versioned hooks in .githooks/. Run once per clone.
set -euo pipefail
cd "$(git rev-parse --show-toplevel)"
chmod +x .githooks/* scripts/ci/gate.sh
git config core.hooksPath .githooks
echo "Hooks installed: pre-commit (fast gate), commit-msg (Conventional Commits), pre-push (full gate)."
|