chore: fixing pre-commit git hook
This commit is contained in:
parent
990b81abe7
commit
87c510b986
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo "*****pre-commit hook******"
|
||||||
|
|
||||||
# Avoid commits to the master branch
|
# Avoid commits to the master branch
|
||||||
BRANCH=`git rev-parse --abbrev-ref HEAD`
|
BRANCH=`git rev-parse --abbrev-ref HEAD`
|
||||||
REGEX="^(master|main|staging|development)$"
|
REGEX="^(master|main|staging|development)$"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user