#!/bin/bash # pre-commit hook — 로컬 빠른 피드백 # 역할: 커밋 전 보안 검사 (staged 파일만) # 우회: git commit --no-verify (서버 pre-receive에서 최종 차단됨) exec "$(git rev-parse --show-toplevel)/scripts/security-scan.sh" --staged