mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-24 23:41:21 +08:00
添加自动合并脚本
This commit is contained in:
20
mergeTest.bat
Normal file
20
mergeTest.bat
Normal 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%
|
||||
Reference in New Issue
Block a user