modify scripts

This commit is contained in:
oscarz
2025-07-11 17:39:30 +08:00
parent 77ac61144d
commit 1b79e21b76
4 changed files with 24 additions and 46 deletions

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