new prc
This commit is contained in:
parent
9d4d59d669
commit
fc7736b89a
Binary file not shown.
BIN
scripts/.DS_Store
vendored
BIN
scripts/.DS_Store
vendored
Binary file not shown.
33
scripts/shared_sw/git-fix.bat
Normal file
33
scripts/shared_sw/git-fix.bat
Normal file
@ -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 <YOUR_PASSWORD> 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
|
Loading…
Reference in New Issue
Block a user