From 5396693abc78bbd675bdba08a2ac33dd0290b5b5 Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Sat, 13 Jun 2026 03:49:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(gitignore):=20=E8=A1=A5=E5=85=85=20*.env.*?= =?UTF-8?q?=20=E8=A7=84=E5=88=99=E5=BF=BD=E7=95=A5=20env.cfg=20=E5=8F=98?= =?UTF-8?q?=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5e4c868..8f55184 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,12 @@ # Docker相关 .env *.env +*.env.* docker-compose.override.yml # 例外:env 模板(不视为敏感配置)允许提交 -!*.env.example -!env.cfg.example +!**/*.env.example +!**/*.env.cfg.example +!**/env.cfg.example # 开发环境 .idea/