Files
2026-07-13 12:49:17 +08:00

18 lines
243 B
Batchfile
Executable File

@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