Download git-hooks/pre-commit from quinnz/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 123 Bytes
-
https://huggingface.co/spaces/quinnz/openclaw/resolve/main/git-hooks/pre-commit
- Command line
-
hf download hf://spaces/quinnz/openclaw/git-hooks/pre-commit
-
curl -L -o pre-commit https://huggingface.co/spaces/quinnz/openclaw/resolve/main/git-hooks/pre-commit
123 Bytes
| ROOT=$(git rev-parse --show-toplevel 2>/dev/null) | |
| [ -z "$ROOT" ] && exit 0 | |
| node "$ROOT/scripts/format-staged.js" | |