|
|
@ -105,7 +105,7 @@ fi |
|
|
|
if [[ ! $local_branch =~ $valid_branch_regex ]] |
|
|
|
if [[ ! $local_branch =~ $valid_branch_regex ]] |
|
|
|
then |
|
|
|
then |
|
|
|
printError "There is something wrong with your branch name. Branch names in this project must adhere to this contract: $valid_branch_regex. |
|
|
|
printError "There is something wrong with your branch name. Branch names in this project must adhere to this contract: $valid_branch_regex. |
|
|
|
Your commit will be rejected. You should rename your branch to a valid name(feat/name OR bug/name) and try again." |
|
|
|
Your commit will be rejected. You should rename your branch to a valid name(feat/name OR fix/name) and try again." |
|
|
|
printError "For more on this, read on: https://gist.github.com/cubxxw/126b72104ac0b0ca484c9db09c3e5694" |
|
|
|
printError "For more on this, read on: https://gist.github.com/cubxxw/126b72104ac0b0ca484c9db09c3e5694" |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |