aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/git/hooks
Commit message (Collapse)AuthorAgeFilesLines
* feat(git): global pre-push hook rejecting unsigned commitsLibravatar sommerfeld2026-05-131-0/+59
Activated via core.hooksPath = ~/.config/git/hooks in the global git config. The hook walks each ref being pushed (range: remote..local or, for new branches, local --not --remotes) and checks %G? on every commit. Accepts G/U/X/Y (good signature variants), rejects N/B/E/R (no signature, bad, missing key, revoked). Bypass: git push --no-verify This repo overrides hooksPath to .githooks/ for its just-check pre-commit gate, so a thin .githooks/pre-push delegates to the global hook to keep the policy enforced here too.