From 36fc07940f59dae5fdb6a5730071b7302332b80e Mon Sep 17 00:00:00 2001 From: linda Date: Sat, 17 Oct 2026 14:20:32 +0800 Subject: [PATCH] =?UTF-8?q?docs(deploy):=20=E8=AE=B0=E5=BD=95=E5=8F=8C=20p?= =?UTF-8?q?ushurl=20=E4=B8=8B=20gitcode=20=E9=95=9C=E5=83=8F=E9=9D=99?= =?UTF-8?q?=E9=BB=98=E8=B7=B3=E8=BF=87=E7=9A=84=E5=9D=91=EF=BC=88=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E5=90=8E=E4=B8=A4=E7=AB=AF=E6=A0=A1=E9=AA=8C=20refs/h?= =?UTF-8?q?eads/main=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 4ef8050..4c6687b 100755 --- a/README.md +++ b/README.md @@ -23,6 +23,16 @@ FastAdmin是一款基于ThinkPHP+Bootstrap的极速后台开发框架。 > `uniapp/` 入库的是**源码快照**(不含构建产物 `unpackage/`)。小程序端真正的「上线」仍需用微信开发者工具 > `cli upload` 上传版本(命令见 `uniapp/README.md` §8.2);服务器与远程仓库里的 `uniapp/` 用于版本归档与协作。 +> ⚠️ `origin` 配了**两个 `pushurl`**(gitcode 镜像 + 服务器裸仓库)。实测 gitcode 的 ref 广播偶发滞后, +> 会出现「只更新了服务器、镜像那一路报 `Everything up-to-date`」的**静默跳过**(2026-10-17 复现一次)。 +> 因此推送后务必两端校验 `refs/heads/main` 指向同一 commit: +> ```bash +> git ls-remote origin # 服务器裸仓库 +> git ls-remote https://gitcode.gynhc.com/GuiZhouChengXuRuanJianKaiFaLiYanXia/fenleixinxi.git # 镜像 +> # 不一致时显式补推镜像: +> git push ssh://git@gitcode.gynhc.com:2222/GuiZhouChengXuRuanJianKaiFaLiYanXia/fenleixinxi.git main:main +> ``` + ---