-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit_commit_template.txt
More file actions
34 lines (29 loc) · 1.44 KB
/
git_commit_template.txt
File metadata and controls
34 lines (29 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ^ Subject Line
# Capitalize, do not end with a period, use the imperative mood
# Limit the subject line to no more than 72 characters: end here --> |
# ^ Body
# Separate subject from body with a blank line, wrap at 72 characters|
# Use the body to explain what and why
Ticket: PROJECT-NUMBER
# ^ Metadata: keyword: <value>
########################################################################
# #
# BitGo Commit Message Standard #
# (info inlined above as well) #
# #
# #
########################################################################
# Commit Message SHALL
# …limit the subject line to no more than 72 characters
# …capitalize the subject line
# …not end the subject line with a period
# …use the imperative mood in the subject line
# …separate subject from body with a blank line
# …wrap the body at 72 characters
#
# Commit Message SHOULD use the body to explain what and why vs. how
#
# Commit Message metadata SHALL be at the bottom of the commit message
# Commit Message metadata MUST follow format “keyword: <value>”
# Commit Message metadata SHOULD contain a ticket reference in the format “Ticket: PROJECT-NUMBER”
#