Files
BE_IBL/scripts/install_devone_sync_hooks.sh
2026-04-15 15:36:54 +07:00

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"