diff --git a/VAT_LATEST/Data/prc.prclic b/VAT_LATEST/Data/prc.prclic index 3f4ac29..cbae298 100644 Binary files a/VAT_LATEST/Data/prc.prclic and b/VAT_LATEST/Data/prc.prclic differ diff --git a/scripts/.DS_Store b/scripts/.DS_Store index 3500688..7424b84 100644 Binary files a/scripts/.DS_Store and b/scripts/.DS_Store differ diff --git a/scripts/shared_sw/git-fix.bat b/scripts/shared_sw/git-fix.bat new file mode 100644 index 0000000..039e2b4 --- /dev/null +++ b/scripts/shared_sw/git-fix.bat @@ -0,0 +1,33 @@ +@echo off +REM ------------------------------------------------------------- +REM Script: update-vat-software.bat +REM Description: Navigate to %USERPROFILE%\Documents\VAT-Software +REM and update the Git remote, fetch all changes, +REM and reset to origin/master. +REM ------------------------------------------------------------- + +REM Change directory to the VAT-Software folder under the current user's Documents +cd /d "%USERPROFILE%\Documents\VAT-Software" || ( + echo Folder "%USERPROFILE%\Documents\VAT-Software" not found. + pause + exit /b 1 +) + +REM ------------------------------------------------------------- +REM OPTION 1: Embed credentials in the remote URL to avoid prompts. +REM Replace with the actual password for vat_emp. +REM ------------------------------------------------------------- +git remote set-url origin https://vat_emp:k0rej%24k%4015@gitea.bangus-deneb.ts.net/t0is/vat-software.git + +REM If you’d rather enter credentials manually, comment out the previous line and uncomment below: +REM git remote set-url origin https://gitea.bangus-deneb.ts.net/t0is/vat-software.git + +REM Fetch all branches and tags from the remote +git fetch --all + +REM Force-reset the local master branch to match origin/master +git reset --hard origin/master + +echo. +echo Repository has been updated to origin/master. +pause \ No newline at end of file