Git Hooks 与团队自动化边界 | Git
本章覆盖:client-side hook;server-side hook;pre-commit;commit-msg;pre-push;formatting;lint;tests;secret detection;local hooks are not automatically cloned as active hooks;CI / server rule is stronger shared enforcement point;hooks should be fast and deterministic。
本章知识点
- client-side hook
- server-side hook
- pre-commit
- commit-msg
- pre-push
- formatting
- lint
- tests
- secret detection
- local hooks are not automatically cloned as active hooks
- CI / server rule is stronger shared enforcement point
- hooks should be fast and deterministic