The Workshop:
Git Hooks with CaptainHook

By Joe Ferguson

Git Hooks are executable server-side or client-side scripts that run when specific Git events happen, such as creating commits or checking out branches. Server-side hooks are useful for Git administrators to enforce specific policies and can run before or after pushes to the server. We’re going to focus on client-side Git Hooks, and how we can leverage them to perform routine tasks for us automatically during the Git workflow we’re already using.

This article was originally published in the December 2020 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Leave a comment

Use the form below to leave a comment: