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

> Before someone starts getting their pants in a twist at this idea, you can configure a solution such that commits to branches don't need a conventional commit format, but that the commit that merges a PR into master must have conventional commit format.

Not can, must. You cannot enforce this for local development since git(1) doesn’t allow project-wide hooks for security reasons.



I don't know where you're getting this but there are in fact many tools for local commit hooks https://typicode.github.io/husky/




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: