panyong 3 anni fa
parent
commit
13d61e3cc1
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      htmldev/dashboard/devshell.sh

+ 4 - 2
htmldev/dashboard/devshell.sh

@@ -5,7 +5,9 @@
 # npm run build
 # ssh root@81.68.157.237
 git pull
+git status
+read -p "Enter your commit_message,please: " commit_message
 git add .
-git commit -m "commit_message"
-git push origin branch_name
+git commit -m ${commit_message}
+git push origin 管理后台
 echo '代码提交成功'