#!/bin/sh # LFS post-commit passthrough (required when core.hooksPath = .githooks) command -v git-lfs >/dev/null 2>&1 || { git lfs version >/dev/null 2>&1 || exit 0; } git lfs post-commit "$@"