Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Can setup tools like Commitlint to add hooks that will reject a commit message if it is invalid, but if you format a commit message incorrectly it simply closes the commit buffer and returns to git status, meaning you have to retype out your commit message, which is obviously less than ideal.
Another potential solution is to possibly use a custom commit command that will open a shell in emacs and run something like cz-cli to create commit messages that adhere to things like the conventional commits format.
A tiny improvement, but still: https://github.com/akirak/conventional-commit.el
Related posts
- What is a good message and size for a commit?
- Subject-First Commit Messages
- Does it make sense to write commit messages that include notes to yourself on how the project is going?
- What is the relation between commitizen-tools/commitizen and commitizen/cz-cli?
- How to write Git commit messages like a Pro!