Files
deploy/gitpush.bat
T
2026-03-23 10:42:25 +08:00

20 lines
594 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
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