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提示用户输入
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
# 添加所有更改