Lazo Lab Sign up

Git, AI Tools & Your Career / Git and GitHub

Lesson 4 of 32

Good commit messages

Write commit messages that explain what changed and why, in the imperative: 'Add login rate limit', not 'stuff'.

Key points

  • Short summary line
  • Imperative mood
  • Explain why in the body
Watch a video on thisOpens YouTube search results for “Good commit messages” in a new tab

Quiz · +10 XP

Which is the best commit message?

Log in to save progress and earn XP.