-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommit-template
29 lines (26 loc) · 1.2 KB
/
commit-template
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
## type and explation
#
# feat - A new feature
# fix - A bug fix
# docs - Documentation only changes
# style - Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
# refactor - A code change that neither fixes a bug nor adds a feature
# chore - Other changes that don't modify src or test files
# test - Adding missing tests or correcting existing tests
# perf - A code change that improves performance
# build - Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
# ci - Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
# revert - Reverts a previous commit
#
## inpired by https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716
# <type>[<option scope>]: <short summary>
# │ │ │
# │ │ └─> Summary in present tense. Not capitalized. No period at the end.
# │ │
# │ └─> Scope (optional): eg. common, compiler, authentication, core
# │
# └─> Type: chore, docs, feat, fix, refactor, style, or test.
#
# [optional body]
#
# [optional footer(s)] e.g. close #66