Added pre-push hook script for unlocking files on push

This commit is contained in:
ac
2024-01-14 20:28:32 +10:00
parent e421d658e3
commit 2c582c23fc

6
pre-push Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
kimelon unlock all
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis 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 '.git/hooks/pre-push'.\n"; exit 2; }
git lfs pre-push "$@"