From 72b4d589c8ad1074d2ef89c1bb20fe3e29fed04c Mon Sep 17 00:00:00 2001 From: oscarz Date: Sun, 13 Apr 2025 16:53:24 +0800 Subject: [PATCH] modify scripts --- commit.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/commit.sh b/commit.sh index 6a5de8f..a92c570 100755 --- a/commit.sh +++ b/commit.sh @@ -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 # 添加所有更改