9 lines
176 B
Bash
Executable File
9 lines
176 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
repo_root=$(git rev-parse --show-toplevel)
|
|
cd "$repo_root"
|
|
|
|
git config core.hooksPath .githooks
|
|
printf '%s\n' "Installed versioned git hooks from .githooks"
|