Files
hooks/pre-push

6 lines
106 B
Bash
Executable File

#!/bin/sh
mg register >/dev/null &
test "$(git lfs track | wc -l)" -gt 0 || exit 0
git lfs pre-push "$@"