Get Hooked on Git Hooks


Video Download

Presented on December 19, 2014

Presented by Omni Adams

Part of the meeting: Git Smart

SKU: VDL20141202 Category:


Git hooks allow you to do nearly anything you want them to on certain git actions such as merging, committing, or updating. You could even build a simple continuous integration system using git hooks, shell scripts, and chicken wire. This talk will cover the basics of local and remote git hooks and build some useful hooks to help your team build better software and improve your development workflow. Example hooks will include running PHPCS before you commit locally, running lint and PHPCS remotely when pushing to the remote git repository, and automagically creating review requests in Review Board for new commits.