Download git/hooks/pre-applypatch.sample from launch-calcium/e621-tagger-patch: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/launch-calcium/e621-tagger-patch/resolve/main/git/hooks/pre-applypatch.sample
- Command line
-
hf download hf://launch-calcium/e621-tagger-patch/git/hooks/pre-applypatch.sample
-
curl -L -o pre-applypatch.sample https://huggingface.co/launch-calcium/e621-tagger-patch/resolve/main/git/hooks/pre-applypatch.sample
424 Bytes
| # | |
| # An example hook script to verify what is about to be committed | |
| # by applypatch from an e-mail message. | |
| # | |
| # The hook should exit with non-zero status after issuing an | |
| # appropriate message if it wants to stop the commit. | |
| # | |
| # To enable this hook, rename this file to "pre-applypatch". | |
| . git-sh-setup | |
| precommit="$(git rev-parse --git-path hooks/pre-commit)" | |
| test -x "$precommit" && exec "$precommit" ${1+"$@"} | |
| : | |