
Ethical Hacker & Cyber Defence · April 16 · 15 min
Workshop: setting up a basic pre-commit rule
0:00-15:00
transcript
show notes
**Theoretical Recap** A pre-commit hook is a script that Git executes automatically before finalizing a commit. It acts as a last-line-of-defence gate: if the script exits with a non-zero code, the commit is rejected and the developer is forced to fi...






