Everyone jokes about rm -rf *… until it actually happens. A while back, GitHub engineer accidentally accidentally ran a destructive command on the wrong repository. Not a fork. Not a personal project. The company’s main GitHub repo. Within seconds… pipelines failed. Services broke. Data disappeared. Panic kicked in. And this wasn’t a small startup. This was at the scale where even minutes of downtime matter. But here’s the part no one talks about 👇 The system came back. Why? Because great engineering isn’t about never making mistakes. It’s about designing systems that survive mistakes. -> GitHub backups saved them -> Branch protections prevented even worse disasters -> Teams jumped in and fixed things fast Within hours, everything was restored. 💡 The lesson? If you’ve ever broken something in code, accidentally deleted a branch, or messed up production… You’re not alone. Even the best engineers have done it. The difference isn’t perfection. The difference is how fast you recover and what you learn. So next time you make a mistake… Don’t panic. Improve your system. Because in tech, mistakes are not the end. They’re part of the process. #github #programming #softwareengineering #devlife #learning #growth #tech
Misleading post. It only deletes current directory files, not whole system
To bhai bata kiyoon nahi ho? Nuqsan karwana hai kya logon ka?
Ha ha they uploaded full video for this incident on YouTube
Cronjob for auto backup shell script
rm -rf * only delets the current directory (expect you are at /, even then read along) - not your system, rm -rf / does this, but even then (on reasonable systems) you need to specify you REALLY want to do this using: --no-preserve-root to break your system.