DEV Community

Discussion on: How to Write Useful Commit Messages (My Commit Message Template)

Collapse
 
andrewbrown profile image
Andrew Brown 🇨🇦

I used to work for a startup where one of the co-founders insisted you always have a hyphen between the commit message and the id eg.

#243 - This is my commit message

Pull requests would be halted for this superficial format. A simple hook could have enforced that formating to satisfy the co-founder but they also refused to accept an automated solution.

Insanity!

Thread Thread
 
jacobherrington profile image
Jacob Herrington (he/him)

There is enforcing reasonable processes and rituals, and then there is being picky. ;)