wangkun 2 anos atrás
pai
commit
0cd6c9ad09
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      git_push.sh

+ 2 - 2
git_push.sh

@@ -1,10 +1,10 @@
 #!/bin/bash
 
 echo '开始'
-echo "$(date +"%Y-%m-%d %H:%M:%S") 正在push..."
+echo "$(date "%Y-%m-%d %H:%M:%S") 正在push..."
 git add .
 git commit -m "update"
 git push origin master
-echo "$(date +"%Y-%m-%d %H:%M:%S") 完成push!"
+echo "$(date "%Y-%m-%d %H:%M:%S") 完成push!"
 
 exit 0