openweb / pinchtab /scripts /install-hooks.sh
Leon4gr45's picture
Upload folder using huggingface_hub (part 3)
c52954a verified
Raw
History Blame Contribute Delete
224 Bytes
#!/usr/bin/env bash
set -euo pipefail
cp "$(dirname "$0")/pre-commit" "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
chmod +x "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
echo "✅ Git hooks installed"