re: Please don't commit .env VIEW POST

re: 110% this. Thank you for sharing Some Dood. And nice GitHub search results to boot! :)

Thank you! I appreciate it. On the note of the GitHub search results, I was really disturbed by how many commits are being made with a similar title. I just felt the need to write about it as a PSA and a friendly reminder to all that they shouldn't commit the .env file unless it's there for a justifiable reason, such as the case with @buphmin .

I agree 100% in any real project.

That said I have a repo on github right now, symfony4-impressions, that I explicitly intended to commit the .env and give to people. In this case I wanted people to have the foobar password for the docker mysql container so they can easily run the performance benchmarks to see for themselves if they wanted.

code of conduct - report abuse