Files
1.20.1-FearFactoryTest
hooks
applypatch-msg.sample
commit-msg.sample
fsmonitor-watchman.sample
post-checkout
post-commit
post-merge
post-update.sample
pre-applypatch.sample
pre-commit
pre-commit.sample
pre-merge-commit.sample
pre-push
pre-push.sample
pre-rebase.sample
pre-receive.sample
prepare-commit-msg.sample
push-to-checkout.sample
sendemail-validate.sample
update.sample
.gitattributes
.gitignore
README.md
FearFactory/hooks/post-commit

4 lines
356 B
Plaintext
Raw Normal View History

2025-05-11 19:54:14 -05:00
#!/bin/sh
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
git lfs post-commit "$@"