Language / Technology

Why do Git commits have messages?

Short answer

Commit messages record the purpose and content of a change so people can understand the history later.

How it works

Automatically generated text may not explain intent. The message should match the unit and purpose of the change.

References