DEV Community

Discussion on: What is the importance of committing mistakes?

Collapse
 
ilonacodes profile image
Ilona Codes • Edited

I guess, these situations are usual for beginners in IT and it's okay and not the end of the world: env variables can be "gitignored" or removed from the repo, and for a database, devs should always have backups 🙂

Collapse
 
jacksonelfers profile image
Jackson Elfers

I've definitely done both of these things, fortunately not with anything major. 😁 The frustrating part of committing env files is that they'll remain in the commit logs even if they're ignored later still allowing potential access through the projects history. It's like cleaning up an oil spill. 😳 Lessons learned I suppose.