添加自动合并脚本

This commit is contained in:
2024-04-21 18:14:27 +08:00
parent fbbb3cbdba
commit 19180a0ec8

20
mergeTest.bat Normal file
View File

@@ -0,0 +1,20 @@
@echo off
git switch master || goto :error
git pull || goto :error
git switch test || goto :error
git pull || goto :error
git merge master || goto :error
git push || goto :error
git switch master || goto :error
goto :EOF
:error
echo Failed with error #%errorlevel%.
exit /b %errorlevel%