Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm of the opinion that Git hooks are personal. That's why they're not part of the source code itself. I make extensive use of hooks, but they're tailored to my needs.

Note that you can skip hooks by passing the --no-verify flag to subcommands. Comes in handy when they're slow and you know that you've just fixed the wrong formatting that the previous invocation of your pre-commit hook complained about.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: