DEV Community

Discussion on: Please don't commit .env

msameerbm profile image
Mohamed Sameer

is it ok to commit on private repos?

somedood profile image
Basti Ortiz Author

Yes, it could be okay to commit there. At least it's not public. As long as you really trust the cloud service hosting your repository, then it should be fine. No guarantees, though. It's a risk you take when you put something in the internet.