mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 15:19:59 +08:00
更新了bat
This commit is contained in:
parent
5e32df6006
commit
18a805ce56
@ -3,13 +3,13 @@ CHCP 65001
|
||||
setlocal
|
||||
|
||||
|
||||
:: 设置需要同步的本地仓库路径
|
||||
echo 设置需要同步的本地仓库路径
|
||||
set REPO_PATH=../
|
||||
|
||||
:: 切换到仓库目录
|
||||
echo 切换到仓库目录
|
||||
cd /d %REPO_PATH%
|
||||
|
||||
:: 设置 PortableGit 的路径
|
||||
echo 设置 PortableGit 的路径
|
||||
set GIT_PATH=PortableGit/bin
|
||||
|
||||
echo 更新所有子模块
|
||||
|
@ -3,22 +3,23 @@ CHCP 65001
|
||||
setlocal
|
||||
|
||||
|
||||
:: 设置需要同步的本地仓库路径
|
||||
echo 设置需要同步的本地仓库路径
|
||||
set REPO_PATH=../
|
||||
|
||||
:: 切换到仓库目录
|
||||
echo 切换到仓库目录
|
||||
cd /d %REPO_PATH%
|
||||
|
||||
:: 设置 PortableGit 的路径
|
||||
echo 设置 PortableGit 的路径
|
||||
set GIT_PATH=PortableGit/bin
|
||||
|
||||
|
||||
echo 撤销之前的强制换源
|
||||
"%GIT_PATH%\git.exe" config --global --unset url."https://gitclone.com/".insteadOf
|
||||
|
||||
echo 强制覆盖所有子模块
|
||||
"%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"
|
||||
|
||||
echo 执行 git pull 更新本地仓库
|
||||
echo 强制覆盖本地仓库
|
||||
"%GIT_PATH%\git.exe" fetch https://github.com/X-T-E-R/GPT-SoVITS-Inference.git main
|
||||
"%GIT_PATH%\git.exe" reset --hard FETCH_HEAD
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user