Showing posts with label commit. Show all posts
Showing posts with label commit. Show all posts

Tuesday, June 18, 2019

What tense should I use in git commit message?

So far I was mostly using the past tense since it looks natural to me but the git best practices suggest us to use imperative sentence.

Example: 

My old git message:
Added IDF commands into CMake editor

New git message:
Add IDF commands into CMake editor

Follow this thread for more discussion on this:
https://stackoverflow.com/questions/3580013/should-i-use-past-or-present-tense-in-git-commit-messages