DEV Community

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

Collapse
 
prahladyeri profile image
Prahlad Yeri

You can never do such validation on git because git is a decentralized system (unlike CVS). All you can do is a best effort automation and scripting for this (like this package) but ultimately its the user's machine, you can't prevent them from altering their hooks folder.