-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitmessage
31 lines (27 loc) · 1.2 KB
/
.gitmessage
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
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|
# Explain why this change is being made (Max 72 char)
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# if you're using vim as your default $EDITOR variable, then simply put
# autocmd Filetype gitcommit setlocal spell textwidth=72
# inside ~/.vimrc
# Provide links or keys to any relevant tickets, articles or other resources
# Example: PYCAMP-100
# --- COMMIT END ---
# Type can be
# feat (new feature)
# fix (bug fix)
# refactor (refactoring production code)
# style (formatting, missing semi colons, etc; no code change)
# docs (changes to documentation)
# test (adding or refactoring tests; no production code change)
# tools (updating grunt tasks etc; no production code change)
# --------------------
# Remember to
# Capitalize the subject line
# Use the imperative mood in the subject line
# Do not end the subject line with a period
# Separate subject from body with a blank line
# Use the body to explain what and why vs. how
# Can use multiple lines with "-" for bullet points in body
# --------------------