aboutsummaryrefslogtreecommitdiff
path: root/.git_template
diff options
context:
space:
mode:
authorAlec Goncharow <alec@goncharow.dev>2024-02-29 22:57:46 -0500
committerAlec Goncharow <alec@goncharow.dev>2024-02-29 22:57:46 -0500
commit82092fe19a0ff0d0e4bed2ccfd4351cbb2d10d9e (patch)
treeb096fcf91d3739649dabad3a7176709d914ff877 /.git_template
parent68677e4b0faec5b746a27bec036477ebf718f3c0 (diff)
embrace autocomplete defaults, add nocheckin pre-commit hook
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