chore: properly ignore runtime storage and data directories

This commit is contained in:
2026-02-17 19:07:11 +08:00
parent 19d3f29f6b
commit 3ab92d672d

6
.gitignore vendored
View File

@@ -15,9 +15,11 @@ __pycache__/
# 临时文件
backend/uploads/
backend/storage/ # 本地存储数据
# 本地存储数据目录(保留 .gitkeep
backend/storage/*
!backend/storage/.gitkeep
backend/data/ # 数据库目录
# 数据库目录(保留 .gitkeep
backend/data/*
!backend/data/.gitkeep
*.log
.DS_Store