Mea Culpa: GitHub works well, my mistake made them look bad
21–30 of 48 posts
Re: Mea Culpa: GitHub works well, my mistake made them look bad
#22Instant overreaction and posting to HN has come up a lot lately. The Skype story yesterday was another mistake where a technical support person wrote that a bug was "by design" when they meant to type "bug," so of course it gets raced into HN as 'news' rather than trying to get clarification.
To be fair when working as a software tester on more than one occasion did a developer mark an obvious bug as "by design".
Re: Mea Culpa: GitHub works well, my mistake made them look bad
#23You seriously made me paranoid about my repositories.
Re: Mea Culpa: GitHub works well, my mistake made them look bad
#24Wouldn't it be great if your scm actually kept all your changes no matter what?
Re: Mea Culpa: GitHub works well, my mistake made them look bad
#25Wouldn't it be great if your scm actually kept all your changes no matter what?
So it appears that every response to my message said that it wasn't lost but would be in 90 days if no one noticed. That is not the definition of 'never loses changes'. The fact of the matter is that someone that doesn't understand the way git works can cause irreversible damage without recourse if not discovered. In many source control systems this is not the case. I still use git on github even with this flaw.
Of course, somebody still has to know and care enough to want to tweak the default configuration, and it doesn't help with GitHub for the moment, but I wouldn't be surprised if they added finer-grained branch permissions in future.
Re: Mea Culpa: GitHub works well, my mistake made them look bad
#26Earlier quoted context omitted.
As far as I understand, git actually always keeps your changes. It is just the pointers that can be overridden if you force an update. For instance, git reflog show origin/master shows even remote forced-updates. So although it looked like the commit was lost, it was still there, just not immediately visible, and was fully recoverable.
Yeah, exactly. We (GitHub) use reflogs on the server, so everything that was pushed was in the repository and can't be gc'd out for at least 90 days. The master branch ref was just pointing at the wrong commit due to the forced pushes.
It'd be amazing if GitHub began exposing reflogs through the web somehow.
Re: Mea Culpa: GitHub works well, my mistake made them look bad
#27Very classy apology. While Andrew's quickly jumping to conclusions is certainly not something to emulate (as he obviously implies in his apology), his ability to assume complete responsibility for a mistake that damaged a reputation is something all members of Internet communities should take note of.
Similarly, GitHub acted in a classy way too. Tom helped Andrew throughout the thread without any snark or dismissals that are, sadly, quite easy to dish out. It certainly contrasts with the recent "go away" Tumblr story.
Re: Mea Culpa: GitHub works well, my mistake made them look bad
#28Re: Mea Culpa: GitHub works well, my mistake made them look bad
#29Wouldn't it be great if your scm actually kept all your changes no matter what?
So it appears that every response to my message said that it wasn't lost but would be in 90 days if no one noticed. That is not the definition of 'never loses changes'. The fact of the matter is that someone that doesn't understand the way git works can cause irreversible damage without recourse if not discovered. In many source control systems this is not the case. I still use git on github even with this flaw.
The -f should mean "don't do this, it will probably wreck your shit". Unfortunately certain tools seem to require it way too often so it seems to be going the way of the venerable confirm dialog.
"Deleted all my files? I dunno, some funny box popped up and I hit OK. Was that it?"