Browse Source

始宁农业管理后台:农户管理

panyong 2 years ago
parent
commit
d62ab001ba
1 changed files with 42 additions and 0 deletions
  1. 42 0
      devshell.sh

+ 42 - 0
devshell.sh

@@ -0,0 +1,42 @@
+#!/bin/bash
+# 测试环境 ssh root@124.222.192.138
+# /data/project/my_loan/
+# git pull
+# panyong/panyong123456
+# cd htmldev/shiningManage
+# cd htmldev/loan
+# npm run build
+
+# 生产环境 ssh root@182.160.4.96
+# npm run build:pro
+
+#function git.branch {
+#  br=`git branch | grep '*'`
+#  echo ${br/* /}
+#}
+
+# git pull
+# git status
+# read -p "Enter your commit_message,please: " commit_message
+# git add .
+# git commit -m ${commit_message}
+# git push origin ${git.branch}
+# echo '代码提交成功'
+
+# 移除源
+
+# git remote remove origin
+
+# 添加新源
+
+# git remote add origin http://124.222.192.138:3000/front_end/swago.git
+
+# git pull
+
+# git branch --set-upstream-to=origin/master master
+
+# git pull origin master
+
+# 如果报histories什么的错误,就执行下面的
+
+# git pull origin master --allow-unrelated-histories