style: reorder env template exceptions in gitignore

This commit is contained in:
2026-06-28 22:54:46 +08:00
parent 958c259698
commit 7845e35d0a
+6 -4
View File
@@ -4,10 +4,7 @@
*.env.* *.env.*
*.env.cfg.* *.env.cfg.*
docker-compose.override.yml docker-compose.override.yml
# 例外:env 模板(不视为敏感配置)允许提交
!**/*.env.example
!**/*.env.cfg.example
!**/env.cfg.example
# 开发环境 # 开发环境
.idea/ .idea/
@@ -38,3 +35,8 @@ compare_images.py
env.cfg env.cfg
env.cfg.* env.cfg.*
stack.yml.* stack.yml.*
# 例外:env 模板(不视为敏感配置)允许提交
!**/*.env.example
!**/*.env.cfg.example
!**/env.cfg.example