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