Files
AdventureLog/scripts/setup-git-hooks.sh
2026-06-06 18:59:42 -04:00

9 lines
169 B
Bash
Executable File

#!/bin/sh
set -e
repo_root="$(cd "$(dirname "$0")/.." && pwd)"
cd "$repo_root"
git config core.hooksPath .githooks
echo "Git hooks enabled (core.hooksPath=.githooks)"