修正: 保留data目录结构,只排除数据文件

This commit is contained in:
2026-08-14 09:56:28 +08:00
parent edf4dfcd52
commit 258fb15577
2 changed files with 8 additions and 1 deletions
+8 -1
View File
@@ -1,5 +1,12 @@
# 数据文件(敏感信息)
data/*.json
data/
!data/.gitkeep
# 系统文件
.DS_Store
# 日志
*.log
# 备份文件
*.bak