浏览代码

Added new autopush

TC pushbot 5 1 年之前
父节点
当前提交
e6d5a2bc90
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      autopush.sh

+ 5 - 3
autopush.sh

@@ -1,5 +1,7 @@
-#/bin/bash
+#!/bin/bash
+echo Enter commit notes:
+read commitmsg
 git pull
-git add -A
-git commit -m "auto update script executed"
+git add *
+git commit -m "$commitmsg"
 git push