13 points · by eVizitei · 17y ago · 6 comments
Despite how fantastic the tool is, git's biggest weakness is it's own opacity and steep learning curve. github's real magic is in indirectly getting git out of the way of the common coder. Sometimes it's through the GUI, and sometimes it's with helpful guides.
I suppose, when the core audience and developers are linux kernel hackers, usability is not going to be a priority.
BTW, here's what they should have done:
git checkout -b last_good_version [commit]
git push --force origin last_good_version:master
Preserves the local history but fixes the issue on GitHub.They probably should also do a few things like:
git branch -m master master_merge_v2
git branch -m last_good_version master
to avoid messing things up with the next pushHad Ethan read about git-revert he might have stumbled into this link http://www.kernel.org/pub/software/scm/git/docs/v1.6.2.3/how... that explains in more detail.
To Ethan's credit, Git is pretty difficult to use until you understand the model behind trees, commits, and blobs. I've been in his shoes where I blew away a bunch of work and screwed up everybody's remote branches :)