2026-03-23 10:42:24.50
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user