DEV Community

Discussion on: Please don't commit .env

Collapse
 
msameerbm profile image
Mohamed Sameer

is it ok to commit on private repos?

Collapse
 
somedood profile image
Basti Ortiz

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.