From e4e18ce2a22824d8870a84493e8e926918bf6261 Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sat, 3 Oct 2026 19:40:23 +0800 Subject: [PATCH] =?UTF-8?q?chore(gitignore):=20=E6=8C=89=E3=80=8C=E7=B1=BB?= =?UTF-8?q?=E3=80=8D=E5=BF=BD=E7=95=A5=E6=96=87=E4=BB=B6=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=99=A8/=E7=BC=96=E8=BE=91=E5=99=A8=E5=A4=87=E4=BB=BD?= =?UTF-8?q?=E4=B8=8E=E4=B8=B4=E6=97=B6=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 主人说明:.env.bak 是其远程文件管理 App 修改文件时自动生成的(会重复出现)。故除已有 .env.* 规则外,再统一忽略 *.bak / *.bak-* / *.orig / *.tmp / *.swp / *~。 - 含密钥的 channels.json / models.json / plugins.json 与 cyrene.db* 本就在被忽略的 data/ 下,已安全 - `git ls-files` 确认无任何已跟踪文件命中这些模式(不会误伤) - .env.bak 本身未删除/未读取(属主人资产) --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 4f16246..dcc9f4e 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,14 @@ plugins.json *.pem *.key +# 文件管理器/编辑器自动备份与临时文件(主人的远程文件管理 App 改文件时会自动生成 .bak) +*.bak +*.bak-* +*.orig +*.tmp +*.swp +*~ + # 构建产物 *.exe *.exe~