From a88d205eb39d5f148eca338ab643c6b796511800 Mon Sep 17 00:00:00 2001 From: sameu Date: Mon, 22 May 2023 11:40:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=BA=E5=88=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E6=96=B9=E6=B3=95=20(#123)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/other/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/other/update.js b/plugins/other/update.js index d27572a..c08794f 100644 --- a/plugins/other/update.js +++ b/plugins/other/update.js @@ -104,7 +104,7 @@ export class update extends plugin { let type = '更新' if (this.e.msg.includes('强制')) { type = '强制更新' - cm = `git reset --hard origin/master && ${cm}` + cm = `git fetch --all && git reset --hard && ${cm}` } if (plugin) {