git_push.sh 194 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") git push 完成!"
  8. exit 0