DEV Community


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

prahladyeri profile image
Prahlad Yeri Author

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.