Skip to content

006 — Git commit messages

Subject line

  • Use #123 to reference issue by number
  • Use imperative mood that's Fix, not Fixed
  • Don't add a period at the end
  • Use [skip ci] if there is no need to run unit tests
  • Start with a capital letter
  • Limit to 50 characters

Body

Use the message body if you need an extra explanation. Explain why, not how.

  • Limit line length to 72 characters