From e59051a6dea696df952d4cbb3792e94de26f2719 Mon Sep 17 00:00:00 2001 From: kid Date: Sun, 26 Jul 2026 15:59:47 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=AD=A3=20CLAUDE.md=20?= =?UTF-8?q?=E4=B8=AD=E8=BF=87=E6=9C=9F=E7=9A=84=20git=20remote=20=E9=99=88?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原文写「无 remote」已过期(origin 已配置),且硬编码提交数易再次腐化, 改为提示现查 git status 而非凭记忆判断。 Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 85c6867..3b5e7e6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -123,6 +123,6 @@ sleep N; xcrun simctl io $UDID screenshot /tmp/x.png # 然后用 Read 工具 - **嵌套 ObservableObject 不冒泡**:`SessionManager` 的 `@Published sessions` 不会因某条会话内部 `@Published` 变化而发布。凡显示会话状态的行/卡片都要抽成独立视图用 `@ObservedObject var session:` 直接订阅(见 `SessionSidebarRow`/`SessionStatusRow`)。 - SourceKit "No such module" 是索引噪声,**以 `swift build`/`xcodebuild` 为准**。 - 密钥/密码**绝不写进仓库**;测试主机凭据由用户即时提供。 -- 提交/推送 git 只在用户明确要求时(main 分支已有 6 次提交,未 push、无 remote)。 +- 提交/推送 git 只在用户明确要求时;远端 `origin` 已配置(git@git.njcqit.com:2222/eric/terminalX.git),推送前用 `git status`/`git log origin/main..HEAD` 现查领先状态,不要凭记忆判断。 - 与用户始终用**简体中文**交流。