wiki/_git/hooks/pre-commit

7 lines
118 B
Text
Raw Normal View History

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