Imperative mood rules

  • Use the base verb form: Add, Fix, Remove, Update, Refactor — not Added, Fixing, Removed
  • Test: "If applied, this commit will [your message]" — it should complete the sentence
  • No personal pronouns: never "I added", "We fixed"
  • Be specific: "fix(auth): prevent null pointer when user has no roles" beats "fix: bug"
  • Common imperative verbs: Add, Fix, Remove, Update, Refactor, Extract, Move, Rename, Revert, Bump

Question 0 of 5

Convert this past-tense commit description to imperative mood: "Added validation for email format in registration form"