fix(gitignore): 하위 폴더의 실제 .env 파일도 git이 무시한다 #85

Merged
donghyeon.kang merged 3 commits from fix/gitignore-nested-env into main 2026-11-21 18:45:46 +00:00
+8 -8
View File
@@ -28,14 +28,14 @@ src/**/src/*/java/**/*.received.*
!.claude/agents/
!.claude/skills/
# Operator input, not a build input. The examples beside it are the tracked contract;
# verifyEnvKeys reads the registry, the profile YAMLs and .env.example, never a real one.
/.env*
!/.env.example
!/.env.local.example
# Written per run by the runtime-smoke wrapper; never committed.
/.env.lane
# Operator input, not a build input: a real environment file stays out in any folder, not only at
# the root. That covers .env, .env.local, a src/.env left over from before the relayout, the
# .env.lane the runtime-smoke wrapper writes per run, and any .env.<profile>. Only the two examples
# are tracked; they are the contract, and verifyEnvKeys reads the registry, the profile YAMLs and
# .env.example, never a real one. A new example needs its own ! line, or Git ignores it.
**/.env*
!**/.env.example
!**/.env.local.example
# bootRun's file log when APP_LOG_FILE_ENABLED=true: APP_LOG_FILE_PATH is relative to the repository root.
/logs/