Git Hooks are scripts that run automatically every time a particular event occurs in a Git repository. Through the scripts, you can customize Git’s internal behavior and trigger customizable actions at key points in the development life cycle. There are two kinds of hooks:Client-side (local) hooks and remote (remote) hooks.
Table of contents
IntroductionWhat are Git Hooks?Why should you use Git Hooks?Implementing a HookCheck for a valid email before committing the codeRun the Commit to verify if the Git hook is invokedGit Pre-Push HookBypassing a HookVersion Control - Git HooksSort: