From 0ed8516318accbe22c6af941d0963a231adb5cb2 Mon Sep 17 00:00:00 2001 From: tianzhendong <1203886034@qq.com> Date: Wed, 14 Jun 2023 22:12:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=88=A5=3Ftime1=E9=88=A5=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gitpush.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gitpush.bat b/gitpush.bat index c5ffb3a..813e33f 100644 --- a/gitpush.bat +++ b/gitpush.bat @@ -2,11 +2,11 @@ echo start git push.... @echo on -SET time=%data% %time% -ECHO current time is:%time% +SET time1=%date:~0,4%%date:~5,2%%date:~8,2%0 %time:~1,1%%time:~3,2%%time:~6,2% +ECHO current time is:%time1% git add . -git commit -m %time% +git commit -m “%time1%” git push origin master @echo off