Skip to content

Commit

Permalink
docs(gcommit): add "chore" and "revert" commit types
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavidhingra committed Feb 27, 2024
1 parent 58008b8 commit 73ef6bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gcommit
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function get_commit_type() {

local isBreakingChange="${1}"

local commitTypes=("feat" "fix" "perf" "refactor" "test" "style" "docs" "build" "ci" "cd")
local commitTypes=("feat" "fix" "perf" "refactor" "test" "style" "docs" "build" "ci" "cd" "chore" "revert")

[ "${isBreakingChange}" == "false" ] && {
commitTypes=("${commitTypes[@]}" "BREAKING-CHANGE")
Expand Down

0 comments on commit 73ef6bf

Please sign in to comment.