News for hackers. Stuff that matters.
Re:How to Write a Git Commit Message (2014) by kevinmannix on Thursday March 16, 2017 @10:01PM (#13890769)
I've really welcomed the recent GitHub features such as "squash & merge" and "rebase & merge". Instead of parsing through 200 commits of "typo", "lint", "spacing", a feature is placed in a compact diff with the feature title & related task id as the commit message.

A commit should be a unit of work. Tests should pass before and after. The commit message should describe the change. Ensuring that you have a good commit message then influences what content you contain in a commit.

There are no comments on this comment yet.