modify scripts

This commit is contained in:
oscarz
2025-04-09 14:37:43 +08:00
parent 71a8326f22
commit 6eea87c554

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
# 添加所有更改 # 添加所有更改