up
This commit is contained in:
9
.husky/commit-msg
Executable file
9
.husky/commit-msg
Executable file
@@ -0,0 +1,9 @@
|
||||
|
||||
if [ -z "$(cat "$1" | grep -E '(^fix:)|(^feature:)|(^up$)|^Merge branch .+$')" ] ; then
|
||||
echo ""
|
||||
echo respecte le format de commit ❤
|
||||
echo " fix: xxx"
|
||||
echo " feature: xxx"
|
||||
echo ""
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user