DEV Community

loading...

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

Collapse
bravemaster619 profile image
bravemaster619

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.

Collapse
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.