无 .gitignore 时 3DTank/local/db.json(含 MySQL 明文口令)、node_modules、web/(70MB 资源)、packets/、src/ 都会被 git add 扫进来。
28 lines
623 B
Plaintext
28 lines
623 B
Plaintext
# ---- 依赖 ----
|
||
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
|