Complete guide to GitHooks - Creating your own pre-commit hooks

Complete guide to GitHooks - Creating your own pre-commit hooks

GitHooks are a great way of automating tasks and checking information while using git. These hooks are both powerful surprisingly easy to create yourself. In this video tutorial we run through how git hooks work and create both local and global git hooks which can call an API, use grep to find keys and call local package.

Links:
GgShield: https://github.com/GitGuardian/ggshield

Learn more at
pre-commit framework: https://pre-commit.com/
Git Hooks.com https://githooks.com