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提示用户输入
if [ -z "$commit_msg" ]; then
read -p "请输入 commit message: " commit_msg
if [ -z "$commit_msg" ]; then
echo "❌ 提交信息不能为空!"
exit 1
fi
commit_msg="modify scripts"
#read -p "请输入 commit message: " commit_msg
#if [ -z "$commit_msg" ]; then
# echo "❌ 提交信息不能为空!"
# exit 1
#fi
fi
# 添加所有更改