自动更新
This commit is contained in:
parent
243c8aa6f4
commit
4a66a23a16
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
read -p "请输入注释:" input
|
read -p "请输入注释:" input
|
||||||
if [$input == null] || [$input == ""];then
|
if ["$input" == null] || ["$input" == ""];then
|
||||||
echo "您的输入为$input ,系统将使用默认注释"
|
echo "您的输入为$input ,系统将使用默认注释"
|
||||||
git add .&&git commit -m "自动更新"&&git push origin master
|
git add .&&git commit -m "自动更新"&&git push origin master
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user