项目文件夹

文件
2026-07-13 12:49:17 +08:00

18 行
243 B
Batchfile
可执行文件

@echo off
setlocal
git checkout main
if errorlevel 1 exit /b 1
git fetch -ap upstream
if errorlevel 1 exit /b 1
git fetch -ap
if errorlevel 1 exit /b 1
git rebase upstream/main
if errorlevel 1 exit /b 1
git push
if errorlevel 1 exit /b 1