Hacker News new | ask | show | jobs
by coolaj86 2572 days ago
I recommend the server-side `update` hook (much like `pre-receive`, but a little easier to use and more flexible).

Here's an example with Prettier:

https://coolaj86.com/articles/server-side-git-hooks-for-code...