|
|
|
@ -2,15 +2,19 @@ |
|
|
|
echo start git push.... |
|
|
|
@echo on |
|
|
|
|
|
|
|
echo =======================git pull start====================== |
|
|
|
git pull origin master |
|
|
|
echo =======================git pull finished====================== |
|
|
|
|
|
|
|
echo =======================git commit====================== |
|
|
|
SET time1=%date:~0,4%-%date:~5,2%-%date:~8,2% %time% |
|
|
|
ECHO current time is:%time1% |
|
|
|
|
|
|
|
git add . |
|
|
|
git commit -m "%time1%" |
|
|
|
echo =======================git push start====================== |
|
|
|
git push origin master |
|
|
|
|
|
|
|
echo =======================git push success====================== |
|
|
|
@echo off |
|
|
|
echo git push success |
|
|
|
pause |