From 20a035a7459e9291a4b6da46be9967f2465fbac5 Mon Sep 17 00:00:00 2001 From: whm <973418690@qq.com> Date: Tue, 17 Mar 2026 21:55:41 +0800 Subject: [PATCH] 1 --- pull-and-restart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pull-and-restart.sh b/pull-and-restart.sh index a102d35..e109ef5 100644 --- a/pull-and-restart.sh +++ b/pull-and-restart.sh @@ -248,7 +248,7 @@ fi [ -f server/.env ] && set -a && source server/.env && set +a BRANCH="${GIT_BRANCH:-master}" -echo "[1/3] 拉取代码..." +echo "[1/3] 拉取代码(以 Gitea 远程为准,本地修改会被覆盖)..." if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then git fetch origin --progress git reset --hard "origin/$BRANCH"