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