1
0
mirror of synced 2026-02-22 21:07:55 +08:00
This commit is contained in:
zhouzj
2021-03-11 15:50:16 +08:00
parent 265d503e15
commit cbb5893ee2
16 changed files with 1165 additions and 0 deletions

37
auto_commit.bat Normal file
View File

@@ -0,0 +1,37 @@
@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