Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bin_bash
· 4y ago · 0 comments
git hooks
Comments
[–]
______-_-______
4y ago
Especially when you have 6 git hooks, and they're all run one by one in "pre-commit", which is written in Python, another whole slow interpreted ecosystem. I do not miss my last job.
[–]
scns
4y ago
This one might help:
https://github.com/evilmartians/lefthook
[–]
girvo
4y ago
That’s a good one I hadn’t considered. Definitely going to keep this tool in mind if we ever need to run some hooks from npm scripts.