DEV Community

Discussion on: How much effort do you put into commit messages?

Collapse
 
ravenblood7 profile image
Juan Jaques du Preez • Edited

Did you know a commit can be quite long actually? I usually have a short title like 'Ticket Number: short description' and then follow with details in a short paragraph.

It may be overkill but commits aren't for you. It's for the poor maintainer trying to add a new feature a year from now. It helps for them to know what the hell you were thinking when you made the change.

Collapse
 
gawonmi profile image
gawonmi

this