#!/usr/bin/env bash set -euo pipefail ROOT_DIR="$(cd "$(dirname "$0")/../.." && pwd)" chmod +x "$ROOT_DIR/.githooks/commit-msg" git -C "$ROOT_DIR" config core.hooksPath .githooks echo "Installed tracked git hooks for $ROOT_DIR"