DEV Community


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

heroincommunity profile image
German Chyzhov • Edited

We are using strict git conventions at our project.
It includes branch naming like [feature|bugfix]/XXX-YYY-3-words-description, where XXX is a short name of project in Jira and YYY is a number of ticket.

For git commits we are using rules:
1) Name like XXX-YYY Do something
2) Name should be up to 80 symbols, detailed description if needed comes as new lines
3) Name should have imperative voice like "Do...", "Make...", "Fix..." instead of "Did","Making", "Fixes"

PR's should have the same naming conventions as git commits.

madza profile image
Madza Author

Talking about being organized 💯👍