From 19180a0ec8628d5dd4ae3c315bfefaba30d3a84c Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Sun, 21 Apr 2024 18:14:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=87=AA=E5=8A=A8=E5=90=88?= =?UTF-8?q?=E5=B9=B6=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mergeTest.bat | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mergeTest.bat diff --git a/mergeTest.bat b/mergeTest.bat new file mode 100644 index 00000000..493240a4 --- /dev/null +++ b/mergeTest.bat @@ -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% \ No newline at end of file