You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DateKeys/.githooks/pre-push

8 lines
288 B

#!/usr/bin/env bash
# Versioned pre-push hook. The server runs no CI, so the local gate runs here.
# Enable once per clone: git config core.hooksPath .githooks
# Skip only deliberately: git push --no-verify
set -euo pipefail
cd "$(git rev-parse --show-toplevel)"
exec scripts/check.sh

Powered by TurnKey Linux.