From fd32881c3d263c79980d99fdd35eb6e3b027ffce Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Thu, 17 Sep 2026 19:59:19 +0800 Subject: [PATCH] =?UTF-8?q?chore(3dtank):=20=E8=A1=A5=20.gitignore?= =?UTF-8?q?=EF=BC=8C=E9=9A=94=E7=A6=BB=E4=BE=9D=E8=B5=96/=E5=87=AD?= =?UTF-8?q?=E6=8D=AE/=E6=8A=93=E5=8C=85/=E5=8F=8D=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E4=BA=A7=E7=89=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 无 .gitignore 时 3DTank/local/db.json(含 MySQL 明文口令)、node_modules、web/(70MB 资源)、packets/、src/ 都会被 git add 扫进来。 --- .gitignore | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..567b275 --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +# ---- 依赖 ---- +node_modules/ + +# ---- 本机凭据与本地配置(含数据库密码),绝不入库 ---- +3DTank/local/ + +# ---- 运行产物 ---- +3DTank/server-logs/ +3DTank/cache/ +3DTank/web/ +3DTank/names/missing.txt + +# ---- 抓包与明文帧(体积大、可重新抓) ---- +3DTank/packets/ +sockets/relaytest*/ + +# ---- 反编译 / 切割产物(可用 tools/extract.js、tools/split.js 重新生成) ---- +3DTank/src/ +3DTank/src_named/ + +# ---- 大体量映射产物(可用 tools/map_symbols.js 重新生成,单文件约 9MB) ---- +tools/symbol_map.json + +# ---- 杂项临时文件 ---- +/1 +/curlcmd +/i.html