7 Rules of Git Commit Log

The seven commonly accepted rules on how to write a git commit message are:

  1. Limit the subject line to 50 characters.
  2. Capitalize only the first letter in the subject line.
  3. Don’t put a period at the end of the subject line.
  4. Put a blank line between the subject line and the body.
  5. Wrap the body at 72 characters.
  6. Use the imperative mood.
  7. Describe what was done and why, but not how.

Reference