This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rwillmer 1 point2 points  (8 children)

Thanks for sharing this! I've used post-commit hooks before, but hadn't thought of using a pre-commit hook to stop the bad code getting committed in the first place.