添加了git换源

This commit is contained in:
XTer 2024-03-11 02:40:15 +08:00
parent cb14da4272
commit 917468e3ec
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ echo 更新所有子模块
echo 执行 git pull 更新本地仓库
"%GIT_PATH%\git.exe" stash
"%GIT_PATH%\git.exe" config --global url."https://gitclone.com/".insteadOf https://
"%GIT_PATH%\git.exe" pull https://github.com/X-T-E-R/GPT-SoVITS-Inference.git main
echo.

View File

@ -15,6 +15,7 @@ set GIT_PATH=PortableGit/bin
echo 强制覆盖所有子模块
"%GIT_PATH%\git.exe" config --global url."https://gitclone.com/".insteadOf https://
"%GIT_PATH%\git.exe" submodule update --init --recursive
"%GIT_PATH%\git.exe" submodule foreach --recursive "git fetch origin plug_in && git reset --hard origin/plug_in"