chore: properly ignore runtime storage and data directories
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -15,9 +15,11 @@ __pycache__/
|
|||||||
|
|
||||||
# 临时文件
|
# 临时文件
|
||||||
backend/uploads/
|
backend/uploads/
|
||||||
backend/storage/ # 本地存储数据
|
# 本地存储数据目录(保留 .gitkeep)
|
||||||
|
backend/storage/*
|
||||||
!backend/storage/.gitkeep
|
!backend/storage/.gitkeep
|
||||||
backend/data/ # 数据库目录
|
# 数据库目录(保留 .gitkeep)
|
||||||
|
backend/data/*
|
||||||
!backend/data/.gitkeep
|
!backend/data/.gitkeep
|
||||||
*.log
|
*.log
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
Reference in New Issue
Block a user