aboutsummaryrefslogtreecommitdiff
path: root/.git_template
diff options
context:
space:
mode:
Diffstat (limited to '.git_template')
-rwxr-xr-x.git_template/hooks/pre-commit6
1 files changed, 6 insertions, 0 deletions
diff --git a/.git_template/hooks/pre-commit b/.git_template/hooks/pre-commit
new file mode 100755
index 0000000..7535f76
--- /dev/null
+++ b/.git_template/hooks/pre-commit
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+# If any command fails, exit immediately with that command's exit status
+set -eo pipefail
+
+nocheckin