Hacker News new | ask | show | jobs
by lelandfe 1124 days ago
I turn them off. I commit early and often, and hooks just get in the way.
2 comments

Local hooks should be fast. I do that too if they take more than 5-10 seconds and it's not mission critical software.
Early and often doesn't change code standards.
It sure does. The repository's standards don't matter one whit until I'm ready to submit my code.

I squash, amend, and delete history with aplomb as I develop. I simply do not need to be informed of adherence to code standards during that.