Git Hooks
edited by ken 2015.12.14
What is Git Hooks
Version control feature
Scripts
Workflow style
WebHook (Github, Bitbucket)
Why Git Hooks
Auto debug
Auto deploy
Notification (Slack, Github, Email…etc)
Cross language (Ruby, Python, PHP, Shell…)
Where Git Hooks
When Git Hooks
When Git Hooks
Client side
prepare-commit-msg
post-commit
post-push
post-checkout
pre-rebase
Service side
post-receive
post-merge
Demo Git Hooks
Pre-commit
Post-receive

Git Hooks