panyong 3 years ago
parent
commit
13d61e3cc1
1 changed files with 4 additions and 2 deletions
  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 '代码提交成功'