Spaces:
Paused
Paused
Download git-hooks/pre-commit from amos-fernandes/melbot: direct link, hf CLI and curl.
- Browser
- Download file 123 Bytes
-
https://huggingface.co/spaces/amos-fernandes/melbot/resolve/main/git-hooks/pre-commit
- Command line
-
hf download hf://spaces/amos-fernandes/melbot/git-hooks/pre-commit
-
curl -L -o pre-commit https://huggingface.co/spaces/amos-fernandes/melbot/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" | |