调整 .gitignore 以适配 backends 目录结构
将 MiGu.Server 相关忽略规则迁移至 backends/MiGu.Server,并新增对 .tmp-build* 和 /.cursor/rules 的忽略,优化敏感数据与临时文件的管理。
This commit is contained in:
+10
-3
@@ -8,16 +8,23 @@
|
|||||||
*.pdb
|
*.pdb
|
||||||
|
|
||||||
# MiGu.Server 运行时数据(含敏感 token)
|
# MiGu.Server 运行时数据(含敏感 token)
|
||||||
MiGu.Server/data/*.json
|
backends/MiGu.Server/data/*.json
|
||||||
MiGu.Server/data/.internal-token
|
backends/MiGu.Server/data/*.db
|
||||||
|
backends/MiGu.Server/data/*.db-shm
|
||||||
|
backends/MiGu.Server/data/*.db-wal
|
||||||
|
backends/MiGu.Server/data/.internal-token
|
||||||
|
|
||||||
# 前端构建产物
|
# 前端构建产物
|
||||||
MiGu.Server/wwwroot/
|
backends/MiGu.Server/wwwroot/
|
||||||
frontends/apps/simple-platform-vue/auto-imports.d.ts
|
frontends/apps/simple-platform-vue/auto-imports.d.ts
|
||||||
|
|
||||||
|
# 临时构建输出
|
||||||
|
.tmp-build*/
|
||||||
|
|
||||||
# IDE / OS
|
# IDE / OS
|
||||||
.vs/
|
.vs/
|
||||||
.idea/
|
.idea/
|
||||||
*.swp
|
*.swp
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
Desktop.ini
|
Desktop.ini
|
||||||
|
/.cursor/rules
|
||||||
|
|||||||
Reference in New Issue
Block a user