logoalt Hacker News

WolfeReaderyesterday at 11:45 PM1 replyview on HN

I like pre-merge hooks. They're great.

Pre-commit and pre-push hooks serve the purpose of keeping code isolated to a developer's machine. This is a recipe for disaster. You will run into situations where important work isn't accessible since a developer couldn't commit/push their code and the machine was lost or damaged. I've seen it happen.


Replies

sgarlandyesterday at 11:46 PM

That’s what --no-verify is for.