Skip to content
Artwork for Ethical Hacker & Cyber Defence
Ethical Hacker & Cyber Defence · April 16 · 15 min

Workshop: setting up a basic pre-commit rule

**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...

0:00-15:00

transcript

No transcript — this publisher did not publish one.

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...