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