wiki/_git/hooks/pre-commit
Brendan Golden 45ca889725
testing
Signed-off-by: Brendan Golden <git@brendan.ie>
2024-09-14 22:36:45 +01:00

7 lines
No EOL
118 B
Bash
Executable file

#!/usr/bin/env bash
cp -R .git _git
git add "_git/*" || { echo "Failed to git add contents of _git"; exit 1; }
exit