From 4a66a23a166b55815ca756c5c7084640936cf7c4 Mon Sep 17 00:00:00 2001 From: dorlolo <428192774@qq.com> Date: Tue, 29 Mar 2022 11:47:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pushToGit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pushToGit.sh b/pushToGit.sh index 4c5d499..86b3a3d 100755 --- a/pushToGit.sh +++ b/pushToGit.sh @@ -1,6 +1,6 @@ #!/usr/bin/bash read -p "请输入注释:" input -if [$input == null] || [$input == ""];then +if ["$input" == null] || ["$input" == ""];then echo "您的输入为$input ,系统将使用默认注释" git add .&&git commit -m "自动更新"&&git push origin master else