Git Commit messages

Mashup Garage prescribes the standard Git commit message format, with a minor modification.

  • Separate subject from body with a blank line
  • Limit the subject line to 50 characters
  • Capitalize the subject line
  • Do not end the subject line with a period
  • Use the imperative mood 3rd-person singular verb in the subject line (eg, Adds, Fixes)
  • Wrap the body at 72 characters
  • Use the body to explain what and why vs. how

Instead of imperatives (add, fix, change), Mashup Garage uses 3rd-person singular verbs (adds, fixes, changes).

Example summaries

  • Adds CPU arch filter scheduler support
  • Implements new styleguides

Details

Include additional details after 2 newlines if possible.

Short (50 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Resources