D8 - hooks

src: Pluralsight, Timothy Ghanim

hooks

automated scripts that are triggered when certain git actions occur

D8 - hooks - commit workflow.png|500
image: Pluralsight, Timothy Ghanim

client-side server-side
- easily disables by removing them or using git switched - easily disabled by removing them
- easily forgotten - cannot be bypassed by client
- for dev's productivity and defensive style - to enforce server-side policy