From 4b836c730d5cc6429372315ba51ec7650358690e Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> Date: Tue, 5 Dec 2023 12:39:28 +0530 Subject: [PATCH] fix: Merge branch colon check removed --- .githooks/commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.githooks/commit-msg b/.githooks/commit-msg index 714bbe3b4..f7847b80a 100755 --- a/.githooks/commit-msg +++ b/.githooks/commit-msg @@ -11,7 +11,7 @@ npx prettier --write . npm run re:format # Define your commit message convention (e.g., starts with "feat:", "fix:", etc.) -commit_regex="^(Merge branch|feat|fix|chore|refactor|enhancement):.+" +commit_regex="^(Merge branch|(feat|fix|chore|refactor|enhancement):).+" if git log -1 --show-signature &> /dev/null; then