From 9acadc4cc9d0de66d30a1f2021f5df685bc47ef6 Mon Sep 17 00:00:00 2001 From: baozaotumao Date: Mon, 1 Jun 2026 21:57:29 -0700 Subject: [PATCH] =?UTF-8?q?change:=20.vscode/*=20=E7=A7=BB=E5=87=BA=20=5Fs?= =?UTF-8?q?kip=5Fif=5Fexists=EF=BC=8C=E6=94=B9=E4=B8=BA=E9=9A=8F=20scaffol?= =?UTF-8?q?d=20=E6=BC=94=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - settings/extensions/tasks 是团队级规则(个人偏好在 VSCode 全局,不受影响) - copier update 走 3-way 合并:持续推送 scaffold 改进,本地非冲突改动保留 - 测试:全新生成拿到配置 / 旧项目级配置重复生成被更新 --- copier.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/copier.yml b/copier.yml index 60426ec..32897d0 100644 --- a/copier.yml +++ b/copier.yml @@ -8,10 +8,9 @@ _skip_if_exists: - "agent/src/**" - "frontend/src/**" - "**/.env" - # 编辑器配置:已有则保留用户自己的,不覆盖(新项目仍会生成) - - ".vscode/settings.json" - - ".vscode/extensions.json" - - ".vscode/tasks.json" + # 注:.vscode/* 故意不列入此处。它们是团队级规则(个人偏好在 VSCode 全局配置, + # 不受影响),随 scaffold 演进——copier update 会 3-way 合并推送改进, + # 仅当用户改了同一行才提示冲突。 _exclude: - copier.yml