diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/install-hooks.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/install-hooks.sh b/scripts/install-hooks.sh new file mode 100755 index 0000000..02e0cfc --- /dev/null +++ b/scripts/install-hooks.sh @@ -0,0 +1,5 @@ +#!/bin/sh +set -eu +cd "$(dirname "$0")/.." +git config core.hooksPath .githooks +echo "git hooks: core.hooksPath=.githooks (pre-push runs 'make gate')" |
