#!/bin/sh # git-lfs pre-push — required because core.hooksPath=.githooks disables the # default .git/hooks/pre-push; without this hook, pushes would upload LFS # pointer files without their objects and break every fresh clone. command -v git-lfs >/dev/null 2>&1 || { printf >&2 'n' ; exit 0; } git lfs pre-push "$@"