4 ms·
And yet people overwhelmingly chose Git. Why is that?
by ChrisSD 7y ago
And yet people overwhelmingly chose Git. Why is that?
- tehlike 7y agoNetwork effect and first mover advantage.
- ChrisSD 7y agoBut they were both released at around the same time. Or at least near enough that they were both serious contenders for awhile.
- gnud 7y agoMercurial was a bit slow in the first years. It's still probably slower for huge repos (I havn't checked), but I doubt it will bother you much nowadays. I used Hg before Git professionally, because when they were both new, Hg had _much_ better Windows support.
- dtech 7y agoAt this point, network effect
- hiccuphippo 7y agoLinus Torvalds made it. That at least got me to look into it. Then saw it was better than svn and never looked back. Or sideways, so I missed mercurial.
- flohofwoe 7y agoIMHO: Because Github just came at the right time for a free "no strings attached" project hosting solution when Sourceforge decided to become evil. That was the reason why I switched to Github anyway. That Github used this strange version control system cobbled together by the Linux kernel devs for their specific workflow was a bit weird, but that wasn't a showstopper for moving to Github. After all it was just one amongst many version control systems, and a VCS shouldn't be the centre of the universe anyway, over time Github would probably offer different systems anyway after they become more popular. Nobody expected that Github was essentially a Trojan horse ;)
- kasey_junk 7y agoIt’s even more specific than that. GitHub chose “free public repos, paid private repos” as their business model and git as their DVC. Bitbucket chose the opposite. GitHubs model is incredibly more viral and thus git won (sadly IMO).
- mixmastamyk 7y agoInteresting, would like to hear more about why that is?
- Siecje 7y agoBitbucket had free private repos and free public repos.
- workthrowaway 7y agogit was faster. i was using mercurial and svn before git. git was hard to learn but i went with efficiency and speed over convenience. also, if you have a good shell or a good GUI you don't need to memorize git commands. and if you are not a game developer uploading large binaries, git is the best around.
- wokwokwok 7y agoI used both at the same time at work for about 2 years, and mercurial was worse. Hg was slow, and the (custom) python plugins around it we used were frustrating (specifically, we had a build pipeline that used the mercurial module in python, along with an arcane scons thing) and there were some specifically irritating pain points like bookmarks and shelve that didn't seem to work properly. I mean, I get it, network effect... but all I can say is at least some people (like me) tried both and pick git on technical merit.
- rimliu 7y agoMany will not admit it, but git is just better. Back in 2008 I made a presentation about DSCVS where I introduced git, mercurial and bazaar, and my advice for fellow programmers was "use git".
- libria 7y agoNo clue. I thought for sure Mercurial would come out ahead, it had some proponents: * Bitbucket provided unlimited free private repositories and they were exclusively Mercurial. Github had limits for private repos. * Google evaluated both and preferred Mercurial for code.google.com http://www.saturngod.net/articles/dvcsanalysis-support-analysis-of-git-and-mercurial-project-hosting-on-google-code/ http://www.saturngod.net/articles/dvcsanalysis-support-analy.... * Fogcreek (creators of Trello and Stackoverflow) picked Mercurial to power Kiln Early on, both tools had different advantages but they evolved toward each other making the choice more about flavor and popularity. My guess is * git was strongly associated with Linus so it won that crowd handily * Github had a stronger association with open source than Bitbucket (dunno why though). Maybe it all came down to marketing. <-- there's a startup lesson
- jhasse 7y ago> * Github had a stronger association with open source than Bitbucket (dunno why though). Maybe it all came down to marketing. <-- there's a startup lesson Maybe because it was bought by Atlassian.
- chipotle_coyote 7y ago> Maybe because it was bought by Atlassian. Nope! Bitbucket had the "free private, paid public" model from the start. IIRC, Atlassian actually changed the model to allow unlimited public repositories after they purchased Bitbucket. It's possible that if BB had started with this model, they'd have been a much stronger competitor.
- billfruit 7y agoAs others have mentioned before, one possible reason could be performance, git commands work near instantaneously even for very large repos, perhaps mercurial was not able to offer a similar experience.
- DougBTX 7y ago> Github had a stronger association with open source than Bitbucket (dunno why though). Early on GitHub gave out free public repositories, but Bitbucket gave our free private repositories. Working in public is aligned much more closely with open source than working in private is.