mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-10 01:00:00 +08:00
26 lines
553 B
Batchfile
26 lines
553 B
Batchfile
CHCP 65001
|
|
@echo off
|
|
setlocal
|
|
|
|
|
|
:: 设置需要同步的本地仓库路径
|
|
set REPO_PATH=../
|
|
|
|
:: 切换到仓库目录
|
|
cd /d %REPO_PATH%
|
|
|
|
:: 设置 PortableGit 的路径
|
|
set GIT_PATH=PortableGit/bin
|
|
|
|
echo 更新所有子模块
|
|
"%GIT_PATH%\git.exe" submodule update --init --recursive
|
|
|
|
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.
|
|
echo 更新完成!
|
|
pause
|