You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: check_branch_name.sh
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,8 @@ green='\033[0;32m'
12
12
red='\033[0;31m'
13
13
clear='\033[0m'
14
14
15
-
message="❌❌❌❌ There is something wrong with your branch name $local_branch_name.\nBranch names in this project must adhere to the format specified in the CONTRIBUTING guide.\nYour commit will be rejected. You should rename your branch to a valid name and try again"
message="❌❌❌❌ Error: The branch name $local_branch_name does not adhere to the project guidelines.\nPlease refer to the $contributing_link guide for the correct format.\nYour commit will be rejected. Rename your branch to a valid name and try again."
16
17
17
18
if [[ !$local_branch_name=~$valid_branch_regex ]];then
0 commit comments