Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GiECd9RWGMKV7n3K1mdy8T
6 lines
361 B
Bash
Executable File
6 lines
361 B
Bash
Executable File
#!/bin/bash
|
|
# Prima di ogni push: il repo su git.manzolo.it è pubblico, quindi niente che check-public bocci deve partire.
|
|
# Si attiva una volta con `make hooks` (core.hooksPath = scripts/git-hooks).
|
|
cd "$(git rev-parse --show-toplevel)" || exit 1
|
|
bash scripts/check-public.sh || { echo; echo "pre-push: push bloccato da check-public (vedi sopra)."; exit 1; }
|