mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-09 00:10:00 +08:00
修改了一些bat
This commit is contained in:
parent
7dc52a600e
commit
ac9a39b3cf
@ -2,24 +2,22 @@ CHCP 65001
|
|||||||
@echo off
|
@echo off
|
||||||
setlocal
|
setlocal
|
||||||
|
|
||||||
:: 设置 PortableGit 的路径
|
|
||||||
set GIT_PATH=../PortableGit/bin
|
|
||||||
|
|
||||||
:: 设置需要同步的本地仓库路径
|
:: 设置需要同步的本地仓库路径
|
||||||
set REPO_PATH=../
|
set REPO_PATH=../
|
||||||
|
|
||||||
:: 添加 PortableGit 到 PATH,以便可以执行 git 命令
|
|
||||||
set PATH=%GIT_PATH%;%PATH%
|
|
||||||
|
|
||||||
:: 切换到仓库目录
|
:: 切换到仓库目录
|
||||||
cd /d %REPO_PATH%
|
cd /d %REPO_PATH%
|
||||||
|
|
||||||
|
:: 设置 PortableGit 的路径
|
||||||
|
set GIT_PATH=PortableGit/bin
|
||||||
|
|
||||||
echo 更新所有子模块
|
echo 更新所有子模块
|
||||||
git submodule update --init --recursive
|
"%GIT_PATH%\git.exe" submodule update --init --recursive
|
||||||
|
|
||||||
echo 执行 git pull 更新本地仓库
|
echo 执行 git pull 更新本地仓库
|
||||||
git stash
|
"%GIT_PATH%\git.exe" stash
|
||||||
git pull https://github.com/X-T-E-R/GPT-SoVITS-Inference.git main
|
"%GIT_PATH%\git.exe" pull https://github.com/X-T-E-R/GPT-SoVITS-Inference.git main
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo 更新完成!
|
echo 更新完成!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user