#!/usr/bin/env bash # Ativa os Git hooks do repositório (.githooks/pre-push e .githooks/commit-msg). set -euo pipefail cd "$(dirname "$0")/.." git config core.hooksPath .githooks echo "hooks ativados: git commit valida Conventional Commits e git push executa scripts/verificar.sh (desative com: git config --unset core.hooksPath)"