From 9d26d3c0d8ddcf8397925365abd5b206d900adca Mon Sep 17 00:00:00 2001 From: yitter Date: Sun, 4 Apr 2021 02:02:50 +0800 Subject: [PATCH] auto commit --- auto_commit.bat | 37 ------------------------------------- auto_download.bat | 6 ------ 2 files changed, 43 deletions(-) delete mode 100644 auto_commit.bat delete mode 100644 auto_download.bat diff --git a/auto_commit.bat b/auto_commit.bat deleted file mode 100644 index 33727df..0000000 --- a/auto_commit.bat +++ /dev/null @@ -1,37 +0,0 @@ -@echo off - -set result=[OK] -set tag=[OK] -set msg="auto commit" - -echo -------------------------------------------------------- - -if not "%1" == "" ( - SET msg=%1 -) - -git add -A -git commit -am %msg% - - -git push -if "%errorlevel%"=="1" goto ERR - -goto END - -:ERR - set result=[error] - set tag=[error] - -:END - - -echo %tag% result: %result% -echo ======================================================== - -if "%tag%"=="×" ( - SET __ERROR__=true - @pause -) - -:QUIT diff --git a/auto_download.bat b/auto_download.bat deleted file mode 100644 index 6341b98..0000000 --- a/auto_download.bat +++ /dev/null @@ -1,6 +0,0 @@ - -@echo off - -git pull - -@rem @pause \ No newline at end of file