You’re Writing Git Messages Wrong!

1 grammar rule, 3 big improvements to your writing

I’m pretty sure you’re making this mistake in Git commit messages! Let’s find out why.

Which Git commit message is correct?

Login or Subscribe to participate in polls.

In partnership with

LEARN

Imperative Mood

You see the imperative mood everywhere in tech:

  • UI prompts: “Enter username”

  • Speaking to ChatGPT: “Summarise this”

  • And yes - Git commit messages.

Did you know Git commit messages should be written in imperative present tense?

Your message should describe what applying the commit will do, not what you did.

Examples

  • Update npm dependency to latest version

  • Fix bug preventing users from subscribing

  • Refactor input function

💡 Remember articles (a/an/the) can be omitted when writing imperative sentences

TOOLS

Find out why 1M+ professionals read Superhuman AI daily.

AI won't take over the world. People who know how to use AI will.

Here's how to stay ahead with AI:

  1. Sign up for Superhuman AI. The AI newsletter read by 1M+ pros.

  2. Master AI tools, tutorials, and news in just 3 minutes a day.

  3. Become 10X more productive using AI.

MORE BUSINESS ENGLISH

THANKS FOR READING

📣 Refer our newsletter to your friends or colleagues to unlock

You currently have 0 referrals, only 1 away from receiving English for Programmers eBook.

What did you think of today's email? 🤔

Login or Subscribe to participate in polls.

Reply

or to participate.