From 989bc51f0d85026a873f47db2a346d4e942b7cd0 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Thu, 20 May 2021 22:39:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dgit=20fetch=E9=80=80=E5=87=BA?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/update.sh b/shell/update.sh index 844a5279..9af43ce1 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -263,7 +263,8 @@ update_qinglong() { local url="https://ghproxy.com/https://github.com/whyour/qinglong-static.git" if [ -d ${ql_static_repo}/.git ]; then reset_romote_url ${ql_static_repo} ${url} - git fetch + git fetch --all + exit_status=$? git reset --hard origin/master >/dev/null 2>&1 else git_clone_scripts ${url} ${ql_static_repo}