Files
workspace/git_pull_master.bat
2026-05-08 22:22:04 +08:00

24 lines
256 B
Batchfile

@echo off
setlocal
cd /d "%~dp0"
echo Current directory:
cd
echo.
echo Running: git pull origin master
git pull origin master
if errorlevel 1 goto error
echo.
echo Done.
pause
exit /b 0
:error
echo.
echo Failed. See the message above.
pause
exit /b 1