Download scripts/ci/install-hooks.sh from abr00kx/taper: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/abr00kx/taper/resolve/main/scripts/ci/install-hooks.sh
- Command line
-
hf download hf://abr00kx/taper/scripts/ci/install-hooks.sh
-
curl -L -o install-hooks.sh https://huggingface.co/abr00kx/taper/resolve/main/scripts/ci/install-hooks.sh
327 Bytes
| # 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)." | |