You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
269 B

@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