Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 7a45810

Browse files
authored
Merge pull request #449 from facebookresearch/pr/commit
add more guidelines for the one-line summary of commit messages
2 parents 8b9b9a2 + c6468f0 commit 7a45810

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CodingConventions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,8 @@ A commit message consists of a one-line summary, followed by an empty line and
594594
the main body with more details focusing on the motivation of the change.
595595
Both the one-line summary and the lines in the main body
596596
should not exceed 72 characters.
597+
The one-line summary should use an imperative and
598+
should not have a closing period.
597599
The commit message should contain all the information that is needed
598600
to understand the change within the git repository.
599601
The main body can only be omitted if the motivation is completely obvious

0 commit comments

Comments
 (0)