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