3 ms·
I only heard of pre-commit hooks like 20 times in the wild and I really want to emphasize how badly that number should be 10x larger. Got a team completely unaw
by huskymybeloved 2y ago
I only heard of pre-commit hooks like 20 times in the wild and I really want to emphasize how badly that number should be 10x larger. Got a team completely unaware they existed once.
- cdeevgtg 2y agoThey are just not convenient to use since they are per repo and not shared via clone
- virgoerns 2y agoThey can be configured globally with core.hooksPath or init.templatedir git config options.
- NekkoDroid 2y agoI really do wish that git itself would like check for a `.githooks` directory and prompt if it should set `core.hooksPath` to that path (probably would need to notify on pull when any files in it changed for security reasons) I would also love if it detected a `.gitmessage` for message the message template without needing to set it up for each repo, but that is a different matter.