4 min read
.env vs .env.example: What to Commit and What to Keep Out of Git
Commit .env.example and never .env. What each file is for, what belongs in the template, the .gitignore lines that work, and what to do after a leak.
Topic
1 article tagged “git”.
Commit .env.example and never .env. What each file is for, what belongs in the template, the .gitignore lines that work, and what to do after a leak.