From c75fa01012d3c568cf01ffa5a1d6038f4b2b9375 Mon Sep 17 00:00:00 2001 From: bWFuanVzYWth Date: Sat, 30 Sep 2023 14:30:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=AD=E6=96=87=E7=9A=84?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update.bat | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update.bat b/update.bat index e148455..edb4858 100644 --- a/update.bat +++ b/update.bat @@ -47,6 +47,10 @@ echo %date% %time% Error: .git/ is broken>>%LOG_PATH% goto end_with_error ) +::config +%GIT_PATH% config --local core.quotepath false +%GIT_PATH% config --local http.sslVerify false + ::init if not exist ".\.gitignore" ( %GIT_PATH% reset --hard @@ -54,7 +58,6 @@ echo %date% %time% Infomation: %GIT_PATH% reset --hard>>%LOG_PATH% ) ::update -set GIT_SSL_NO_VERIFY=true %GIT_PATH% pull origin main if %errorlevel% NEQ 0 ( echo 错误:更新失败。如果没有其他警告,这通常是网络波动,重试就行,无效请使用加速器/挂梯子后再更新。