-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommit.sh
More file actions
18 lines (16 loc) · 1.1 KB
/
commit.sh
File metadata and controls
18 lines (16 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Output colors
green='\033[0;32m';
yellow='\033[0;33m';
default='\033[0;m';
echo " ${yellow}Use the commit format ${green}https://github.com/conventional-changelog/commitlint/#what-is-commitlint ${default} "
echo " "
echo " ${green}build: ${default}Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) "
echo " ${green}ci: ${default}Changes to our CI configuration files and scripts (example scopes: Circle, BrowserStack, SauceLabs) "
echo " ${green}docs: ${default}Documentation only changes "
echo " ${green}feat: ${default}A new feature "
echo " ${green}fix: ${default}A bug fix "
echo " ${green}perf: ${default}A code change that improves performance "
echo " ${green}refactor: ${default}A code change that neither fixes a bug nor adds a feature "
echo " ${green}test: ${default}Adding missing tests or correcting existing tests "
echo "${default}"
exit 0;