1
0
mirror of synced 2026-04-18 14:28:43 +08:00

auto commit

This commit is contained in:
yitter
2021-04-04 02:02:50 +08:00
parent 31e0f44b2a
commit 9d26d3c0d8
2 changed files with 0 additions and 43 deletions

View File

@@ -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

View File

@@ -1,6 +0,0 @@
@echo off
git pull
@rem @pause