mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
10 lines
262 B
Bash
Executable file
10 lines
262 B
Bash
Executable file
#!/bin/sh
|
|
# Point this clone at .githooks/ (tracked git hooks).
|
|
set -eu
|
|
|
|
ROOT="$(CDPATH='' cd -- "$(dirname "$0")/../.." && pwd)"
|
|
cd "$ROOT"
|
|
|
|
git config core.hooksPath .githooks
|
|
chmod +x .githooks/pre-commit
|
|
echo "install-git-hooks.sh: core.hooksPath=.githooks"
|