|
|
|
@ -102,7 +102,7 @@ print_color "Deleted Files: ${deleted_files}" "${BACKGROUND_GREEN}"
|
|
|
|
|
if [[ ! $local_branch =~ $valid_branch_regex ]]
|
|
|
|
|
then
|
|
|
|
|
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"
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|