We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d504b1c commit 5d20d34Copy full SHA for 5d20d34
1 file changed
githooks/branch_validate.sh
@@ -3,7 +3,7 @@ LC_ALL=C
3
4
local_branch="$(git rev-parse --abbrev-ref HEAD)"
5
6
-valid_branch_regex="^(bug|chore|devops|feat|fix|hotfix|release)\/[a-z0-9._-]+$"
+valid_branch_regex="^(bug|chore|devops|feat|fix|hotfix|release)\/[a-zA-Z0-9._-]+$"
7
8
message="Commit failed. Branch names in this project must adhere to this contract: $valid_branch_regex. Please rename your branch and try again."
9
0 commit comments