From 97a3c1bda99e619816a0901a2662a7578f5d223c Mon Sep 17 00:00:00 2001 From: zhangxiang Date: Tue, 20 Oct 2026 22:07:23 +0800 Subject: [PATCH] =?UTF-8?q?chore(repo):=20=E4=BA=A4=E4=BB=98=E7=89=A9?= =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E4=BB=B6=E7=99=BB=E8=AE=B0=E8=BF=9B=20.gitig?= =?UTF-8?q?nore=EF=BC=8C=E6=B8=85=E6=8E=89=20139=20=E4=B8=AA=E4=B8=B4?= =?UTF-8?q?=E6=97=B6=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 工作树长期挂着 271 个未跟踪文件,其中 64MB 是 logo 目录里 `_*` 前缀的中间图与 试算脚本、45MB 是字体源,把 `git status` 变成噪音源。本轮: - 删:根目录 3 个线上探针 `.tmp-*.mjs`、logo 目录 130 个 `_*` 中间件(64MB)、 stray-landing-backup 内的未跟踪副本。 - 忽略不删:同名 `.py` 逐刀重生成的评审 HTML(85 个)、fonts/ 字体源、 landing/apply.sh 自建的还原点、assets-delivery 与 landing 的 png/ico 交付副本、 company-deck/(PPTX 走网盘)、历史 PR 描述稿 `.pr-seal-*.md`。 还原点按扩展名精确忽略而非目录级屏蔽:backup-*/ 里已入库的 svg 半份不能被 标成 ignored,否则「已跟踪却被屏蔽」会让后续 `git add` 静默失效。 --- .gitignore | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.gitignore b/.gitignore index bcbdf7e..8379ab2 100644 --- a/.gitignore +++ b/.gitignore @@ -341,4 +341,26 @@ tests/screenshots/ # reference designs novalon-accenture-redesign/ +# 交付物本地件:判据、生成脚本、SVG 资产包、MANIFEST 已入库,以下留本地 +# - *.html:由同名 .py 逐刀重生成的评审页,入库会让 diff 淹掉真源 +# - fonts/:43MB 字体源与 woff2 子集,仅本机栅格化用(站内实际引用的字体在 public/fonts,已入库) +# - backup-*/:landing/apply.sh 自建还原点。只忽略其中的 png/ico/webmanifest/tsx 副本 +# (内容都能从 git 取回),同目录的 svg 半份是已入库资产,不能用目录级规则一并屏蔽 +deliverables/**/*.html +deliverables/logo-redesign-2026-10-13/fonts/ +deliverables/logo-redesign-2026-10-13/landing/backup-*/public/*.png +deliverables/logo-redesign-2026-10-13/landing/backup-*/public/*.ico +deliverables/logo-redesign-2026-10-13/landing/backup-*/public/site.webmanifest +deliverables/logo-redesign-2026-10-13/landing/backup-*/src/*.tsx +deliverables/logo-redesign-2026-10-13/landing/backup-*/added.txt +deliverables/logo-redesign-2026-10-13/landing/*.png +deliverables/logo-redesign-2026-10-13/landing/*.ico +deliverables/logo-redesign-2026-10-13/assets-delivery/*.png +deliverables/logo-redesign-2026-10-13/assets-delivery/*.ico +# 公司介绍包:PPTX 二进制走交付网盘不进 git,大纲 md 属对外文案稿 +deliverables/company-deck/ +# 历史 PR 描述稿与一次性线上探针 +.pr-seal-*.md +.tmp-*.mjs + /src/generated/prisma