modify scripts

This commit is contained in:
oscarz
2025-04-13 16:53:24 +08:00
parent bc08542200
commit 72b4d589c8

View File

@ -14,11 +14,12 @@ commit_msg="$1"
# 如果没有提供 commit message提示用户输入 # 如果没有提供 commit message提示用户输入
if [ -z "$commit_msg" ]; then if [ -z "$commit_msg" ]; then
read -p "请输入 commit message: " commit_msg commit_msg="modify scripts"
if [ -z "$commit_msg" ]; then #read -p "请输入 commit message: " commit_msg
echo "❌ 提交信息不能为空!" #if [ -z "$commit_msg" ]; then
exit 1 # echo "❌ 提交信息不能为空!"
fi # exit 1
#fi
fi fi
# 添加所有更改 # 添加所有更改