subject line

The first line of a commit message, a short summary that Git shows in one-line views such as git log --oneline.

In more detail

Aim for under about fifty characters, written as a command and capitalised, with no full stop, because tools truncate or quote it: git shortlog wraps it and merge messages quote it. Everything after the following blank line is the body.

Related terms

Taught in

References