Standards to follow while committing to Git:- what your commit message should tell
the diff says WHAT YOU DID;
your commit message should tell me or others in the team
WHY YOU DID THIS
Therefore, first and foremost add context (the why, not the how) with your commit message (e.g. "frobnize the message to enable persistence") instead of "added frob() function"). It's more effort (you have to reflect and think), but it is so much more worth.
Subscribe to Engineering At Kiprosh
Get the latest posts delivered right to your inbox