From 9a2c3d88538c683f6b07ea38c63e6812fdd38285 Mon Sep 17 00:00:00 2001 From: aaronxu <3448711340@qq.com> Date: Wed, 27 Aug 2025 17:28:48 +0800 Subject: [PATCH] =?UTF-8?q?08-27-=E5=91=A8=E4=B8=89=5F17-28-48?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- push.bat | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 push.bat diff --git a/push.bat b/push.bat deleted file mode 100644 index 16629b7..0000000 --- a/push.bat +++ /dev/null @@ -1,26 +0,0 @@ -@echo off -setlocal enabledelayedexpansion - -rem 获取当前日期和时间 -for /f "tokens=1-4 delims=/-. " %%i in ("%date%") do ( - set yyyy=%%i - set mm=%%j - set dd=%%k -) - -set hh=%time:~0,2% -set nn=%time:~3,2% -set ss=%time:~6,2% - -rem 去掉小时的空格 -if "%hh:~0,1%"==" " set hh=0%hh:~1,1% - -set commitmsg=%yyyy%-%mm%-%dd%_%hh%-%nn%-%ss% - -git config --global core.autocrlf input - -git add . -git commit -m "%commitmsg%" -git push - -endlocal \ No newline at end of file