devshell.sh 406 B

123456789101112131415161718
  1. #!/bin/bash
  2. # cd /data/project/web/tingbang
  3. # git pull
  4. # cd /data/project/web/tingbang/htmldev/dashboard
  5. # npm run build
  6. ssh root@81.68.157.237
  7. #function git.branch {
  8. # br=`git branch | grep '*'`
  9. # echo ${br/* /}
  10. #}
  11. #
  12. #git pull
  13. #git status
  14. #read -p "Enter your commit_message,please: " commit_message
  15. #git add .
  16. #git commit -m ${commit_message}
  17. #git push origin ${git.branch}
  18. #echo '代码提交成功'