Hacker News new | ask | show | jobs
by mh- 194 days ago
You can use git hooks. Pre-commit specifically.

https://git-scm.com/docs/githooks