git_push.sh 191 B

12345678910
  1. #!/bin/bash
  2. echo '开始'
  3. echo '$(date "+%Y-%m-%d %H:%M:%S") 正在push...'
  4. git add .
  5. git commit -m "update"
  6. git push origin master
  7. echo '$(date "+%Y-%m-%d %H:%M:%S") 完成push!'
  8. exit 0