8 lines
213 B
Bash
Executable File
8 lines
213 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
git -C "$ROOT_DIR" config core.hooksPath .githooks
|
|
printf 'Installed git hooks path: %s\n' "$ROOT_DIR/.githooks"
|