fix(git-commit-template): modify the keyword perf

This commit is contained in:
Ghasem Shirdel 2022-02-11 10:22:50 +03:30 committed by GitHub
parent 80ec398a5c
commit 304a75c652
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ git_commit_template() {
# Valid types # Valid types
TYPES=("feat" "fix" "docs" "style" "refactor" TYPES=("feat" "fix" "docs" "style" "refactor"
"pref" "test" "build" "ci" "chore" "revert") "perf" "test" "build" "ci" "chore" "revert")
NUMBERS=("1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11") NUMBERS=("1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11")
@ -29,7 +29,7 @@ git_commit_template() {
the code (white-space, formatting, missing semi-colons, etc).\n" the code (white-space, formatting, missing semi-colons, etc).\n"
printf "${CYAN}5. refactor${RESET} - A Code change that neither fixes a bug \ printf "${CYAN}5. refactor${RESET} - A Code change that neither fixes a bug \
nor adds a feature.\n" nor adds a feature.\n"
printf "${CYAN}6. pref${RESET} - A code change that improves performance.\n" printf "${CYAN}6. perf${RESET} - A code change that improves performance.\n"
printf "${CYAN}7. test${RESET} - Adding missing tests or correcting existing \ printf "${CYAN}7. test${RESET} - Adding missing tests or correcting existing \
tests.\n" tests.\n"
printf "${CYAN}8. build${RESET} - Changes that effect the build system or \ printf "${CYAN}8. build${RESET} - Changes that effect the build system or \