diff --git a/updateMods.bat b/updateMods.bat index b325117..55ddd6d 100644 --- a/updateMods.bat +++ b/updateMods.bat @@ -7,10 +7,12 @@ if %errorlevel% neq 0 ( goto end ) else ( if not exist .git ( - git init - git checkout -b main + git init git remote add origin https://git.sfkao.net/SFKao/Las_3000-modpack.git + git fetch + git checkout -t origin/main -f ) + call git fetch call git pull --rebase --autostash if %errorlevel% neq 0 ( REM Si pasa algo