chore: update .gitignore

This commit is contained in:
2025-12-24 11:06:47 +08:00
parent 2d07082b81
commit 218d405f56
2 changed files with 10 additions and 20 deletions

View File

@@ -1,14 +1,9 @@
# 忽略目录下所有文件和子目录 # 忽略所有文件
* *
# 忽略所有子目录
*/ # 只保留指定的 .gitkeep 文件
# 但不忽略 .gitkeep 文件
!.gitkeep
# 不忽略 .gitignore 文件自身
!.gitignore !.gitignore
# 不忽略 development/.gitkeep 文件
!development/.gitkeep !development/.gitkeep
# 不忽略 production/.gitkeep 文件 !test/.gitkeep
!production/.gitkeep !production/.gitkeep
# 不忽略 test/.gitkeep 文件 !staging/.gitkeep
!test/.gitkeep

View File

@@ -1,14 +1,9 @@
# 忽略目录下所有文件和子目录 # 忽略所有文件
* *
# 忽略所有子目录
*/ # 只保留指定的 .gitkeep 文件
# 但不忽略 .gitkeep 文件
!.gitkeep
# 不忽略 .gitignore 文件自身
!.gitignore !.gitignore
# 不忽略 development/.gitkeep 文件
!development/.gitkeep !development/.gitkeep
# 不忽略 production/.gitkeep 文件 !test/.gitkeep
!production/.gitkeep !production/.gitkeep
# 不忽略 test/.gitkeep 文件 !staging/.gitkeep
!test/.gitkeep