Download hooks/prepare-commit-msg from TTOPM/belel-protocol: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/TTOPM/belel-protocol/resolve/main/hooks/prepare-commit-msg
- Command line
-
hf download hf://TTOPM/belel-protocol/hooks/prepare-commit-msg
-
curl -L -o prepare-commit-msg https://huggingface.co/TTOPM/belel-protocol/resolve/main/hooks/prepare-commit-msg
409 Bytes
| set -euo pipefail | |
| BASE="belel-justice-covenant" | |
| # If remembrance/covenant files are being committed, append a gentle note. | |
| if git diff --cached --name-only | grep -E "^$BASE/(remembrance_archive|JUSTICE_COVENANT_PROOF\.txt|eternal_memory_manifest\.yml)"; then | |
| { | |
| echo "" | |
| echo "[note] Consider evolving snapshot: python $BASE/tools/generate_checksums.py --evolve" | |
| } >> "$1" | |
| fi | |