DEV Community


Discussion on: How To Enforce Conventional Commit Messages Using GIT Hooks

bravemaster619 profile image

Nice article! I have a question similar to @arun . Is it possible to enforce a commit message style in open source repository? For all contributors and pull requests? Thanks.

prahladyeri profile image
Prahlad Yeri Author

You can do that if you have github enterprise, they provide these hooks on the server side through settings. If you run your own git server, you'll have to code an equivalent scripting solution of your own to achieve this.