Tyler Hawkins
Jul 30, 2021

--

Thanks Miguel! 100% agreed that commits should be in the imperative mood to describe what the commit does. I’ve gone back and forth on whether I use past, present, or future tense, but I generally stick with the present tense.

Looking at the Conventional Commits examples, they use the imperative present tense just like you’re suggesting as well: https://www.conventionalcommits.org/en/v1.0.0/#examples

This Stack Overflow question was interesting as well: https://stackoverflow.com/questions/3580013/should-i-use-past-or-present-tense-in-git-commit-messages.

So I guess the only difference is whether the verb in this example should be “correct” or “corrects”, and it looks like I should start dropping the “s” off of my verbs!

--

--

Tyler Hawkins
Tyler Hawkins

Written by Tyler Hawkins

Staff software engineer. Continuous learner. Educator. http://tylerhawkins.info

No responses yet