5 lines
381 B
Bash
Executable file
5 lines
381 B
Bash
Executable file
#!/usr/bin/env sh
|
|
. "$(dirname "$0")/h"
|
|
|
|
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 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
|
|
git lfs pre-push "$@"
|