DEV Community


Discussion on: Patterns for writing better git commit messages

jacekgajek profile image
jacekgajek • Edited

I's a nice idea to write good commit messages... but in the case of simple tasks it becomes more like "fix #851" which is picked by Jira or other tool automatically... so you can click on a message (if you use an IDE) and it takes you to the description.

One could copy the subject and description from Jira, but sometimes the fix is simple (like change + to - somewhere), but the bug is so weird that it's impossible to fit it in a commit message which wouldn't end up being cryptic. For example, in a situation when elephant extinction level goes down and it is a full moon, timestamps are shifted by a millisecond in systems which have an odd IP number.