EDIT: have a look at conventional commits standard instead, they are saying much of what i'm saying here, but in a formalized way.
Commit Message Guidelines
This document gathers wisdom from different sources to provide a sensible guide for writing commit messages.
Sources:
The AngularJS contributing guides
Open Source Review Toolkit's contribute guide