7 lines
217 B
Bash
Executable File
7 lines
217 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -Eeuo pipefail
|
|
|
|
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
|
git -C "${repo_root}" config --local core.hooksPath .githooks
|
|
printf 'Git hooks enabled for %s\n' "${repo_root}"
|