20260507213409

This commit is contained in:
oneao committed 2026-05-07 21:34:09 +08:00
1 parent 3070eac71b
commit 4c7f516a03
204 files changed
+3623

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
@echo off
setlocal
cd /d "%~dp0"
for /f %%i in ('powershell -NoProfile -Command "Get-Date -Format yyyyMMddHHmmss"') do set COMMIT_MSG=%%i
echo Current directory:
cd
echo.
echo Commit message: %COMMIT_MSG%
echo.
echo Running: git add .
git add .
if errorlevel 1 goto error
echo.
echo Running: git commit -m "%COMMIT_MSG%"
git commit -m "%COMMIT_MSG%"
if errorlevel 1 goto error
echo.
echo Running: git push origin master
git push origin master
if errorlevel 1 goto error
echo.
echo Done.
pause
exit /b 0
:error
echo.
echo Failed. See the message above.
pause
exit /b 1