warning / environment files
confidence: high
Local .env file is not git-ignored
.gitignore
Why it matters
A local .env file can hold credentials and other values that should never be committed. cDoc checks ignore and track status without reading the file contents.
Recommended next step
Add .env to .gitignore, then run git rm --cached .env if the file is already tracked. Keep a committable .env.example with placeholder values instead.
Evidence collected
- Evidence
- .env present: yes
- Evidence
- ignored by git: no
- Evidence
- tracked by git: no
- Evidence
- contents read: no
cDoc reports. You decide what changes.