Reputation: 111
Is there way i can make commit messages mandatory? I need this validation both from UI and API level so i dont see any commits that have blank description.
Upvotes: 0
Views: 930
Reputation: 16806
Github Enterprise has this feature available as a pre-receive hook.
Examples of pre-receive hooks from the readme:
Upvotes: 1
Reputation: 145
I do not think that is possible. The UI always sets a default commit message if you do not specify one on your own. The extended description section, however, is optional and is probably specific to GitHub.
Upvotes: 0