From 4881d2e00709278d9b07a11fc105bebfb957d36e Mon Sep 17 00:00:00 2001 From: tianzhendong <1203886034@qq.com> Date: Wed, 14 Jun 2023 22:10:02 +0800 Subject: [PATCH] 22:10:02.41 --- gitpush.bat | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/gitpush.bat b/gitpush.bat index cd5d6e5..c5ffb3a 100644 --- a/gitpush.bat +++ b/gitpush.bat @@ -1,17 +1,14 @@ @echo off -echo 开始提交到git.... +echo start git push.... @echo on -SET year=%date:~0,4% -SET month=%date:~5,2% -SET day=%date:~8,2% -SET Today=%year%%month%%day% -ECHO 当前日期是:%Today% +SET time=%data% %time% +ECHO current time is:%time% git add . -git commit -m %Today% +git commit -m %time% git push origin master @echo off -echo 推送到git成功 +echo gitpush success pause \ No newline at end of file