tianzhendong
1 year ago
1 changed files with 5 additions and 8 deletions
@ -1,17 +1,14 @@ |
|||||
@echo off |
@echo off |
||||
echo 开始提交到git.... |
echo start git push.... |
||||
@echo on |
@echo on |
||||
|
|
||||
SET year=%date:~0,4% |
SET time=%data% %time% |
||||
SET month=%date:~5,2% |
ECHO current time is:%time% |
||||
SET day=%date:~8,2% |
|
||||
SET Today=%year%%month%%day% |
|
||||
ECHO 当前日期是:%Today% |
|
||||
|
|
||||
git add . |
git add . |
||||
git commit -m %Today% |
git commit -m %time% |
||||
git push origin master |
git push origin master |
||||
|
|
||||
@echo off |
@echo off |
||||
echo 推送到git成功 |
echo gitpush success |
||||
pause |
pause |
Loading…
Reference in new issue