diff options
| author | Alec Goncharow <alec@goncharow.dev> | 2024-02-29 22:57:46 -0500 |
|---|---|---|
| committer | Alec Goncharow <alec@goncharow.dev> | 2024-02-29 22:57:46 -0500 |
| commit | 82092fe19a0ff0d0e4bed2ccfd4351cbb2d10d9e (patch) | |
| tree | b096fcf91d3739649dabad3a7176709d914ff877 /.git_template/hooks/pre-commit | |
| parent | 68677e4b0faec5b746a27bec036477ebf718f3c0 (diff) | |
embrace autocomplete defaults, add nocheckin pre-commit hook
Diffstat (limited to '.git_template/hooks/pre-commit')
| -rwxr-xr-x | .git_template/hooks/pre-commit | 6 |
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 |
