Commit

2ab147a

Do you inspect the Git commit message tone e.g. via git log --oneline -n 20 before contributing to OSS?
  • Yes.60%, 3 votes
  • No.40%, 2 votes

5 votesFinal results

Another approach is to provide a commit template i.e. .gitmessage and add it via git config --add commit.template .gitmessage.
txt
Subject line

# - Capitalise the subject line and do not end it with a period
# - Use the imperative mood in the subject line
# - Summarise changes in around 50 (soft limit, hard limit at 69)
#   characters or less in the subject line
# - Separate subject line from body with a blank line
Optional subject body
# - Capitalise the subject body
# - Use the subject body to explain what and why vs. how
# - Wrap the subject body at 72 characters
This file can life in the related repository.

commit 2ab147a