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

But if someone DID pull the update, the old commits would have still been in their local repo and they could have run "git reflog" to retrieve them.


The person, who apparently googled some command sequence and happily entered them only to find out it overwrote the team's data, could just as easily have used those google skills to search for how to undo last git operation.

Obviously this person had all the privileges required to force push the previous commit in order to save the day. The old adage of never fact-checking a good story holds true however. Not sure it's a good selling point though, by nerd sniping everyone to explain in detail what the actual problem was no one will read to the end.




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

Search: