Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've read a bunch of tutorials promoting env vars to avoid secrets being accidentally checked into git. Step 1 is usually to create a .env file and add it to your gitignore.


... and if you setup a git project and forget the gitignore

... your secrets get checked into git.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: