devshell.sh 445 B

12345678910111213141516171819
  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@1.15.137.157
  7. # 测试 ssh root@81.68.157.237
  8. #function git.branch {
  9. # br=`git branch | grep '*'`
  10. # echo ${br/* /}
  11. #}
  12. #
  13. #git pull
  14. #git status
  15. #read -p "Enter your commit_message,please: " commit_message
  16. #git add .
  17. #git commit -m ${commit_message}
  18. #git push origin ${git.branch}
  19. #echo '代码提交成功'