tianzhendong
1 year ago
1 changed files with 5 additions and 8 deletions
@ -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 |
Loading…
Reference in new issue