I would like to know:
- What's the difference between Git and Mercurial?
- What are the pros and cons of using them?
- How good is the Windows support for both tools?
|
|
Some time back google did an analysis of Git and Mercurial. You can read it online on |
||||
|
|
|
You may want to read this question on stackoverflow: What are the relative strengths and weaknesses of Git, Mercurial, and Bazaar? |
|||
|
|
First, either one is going to be a huge step up from older systems - there's really not a bad option. Git is a little harder to use but noticeably faster and arguably more powerful. Mercurial is friendlier and - thanks to TortoiseHg - much easier to use on Windows. In either case you have the option of excellent hosting (GitHub, Bitbucket, eventually Google Code), lots of guides and migration tools from other systems. If you need Windows users, I'd recommend Mercurial - otherwise it'd probably make sense to try both and see which one you prefer. I find Mercurial more comfortable but Git isn't that far behind and has some scary-cool features (i.e.rebase -i). |
|||
|
|
|
Git and Mercurial have more in common than they differ. Both are excellent. I use Mercurial and have no experience with Git. From friends that use Git I hear that it takes some getting used to, but after that it's awesome. Windows support... I believe there are GUI front ends for both. Mercurial is written in Python, so no problems there. |
|||
|
|
There are numerous detailed DVCS studies out there (see links in the answers above). I liked this recent blog: http://stevelosh.com/blog/2010/01/the-real-difference-between-mercurial-and-git/ and quite agree with it. The major plus for git today (beginning of 2010) is probably github! :-)
Unless you have very peculiar requirements, I would say that for 99% of the time both are very good at doing what you need. I heard that Git windows support wasn't good (i.e., requires Cygwin which most windows dev do not have) but after seeing a demo of TortoiseGit I would say it's not true anymore. Also I heard that you can obliterate files/dirs in Git easily and not in Mercurial but I just found that with In summary differences tend to get smaller: have a look at both and choose which ever, they are both good. If you already know subversion for example, Mercurial might be easier to handle as the similar commands do match more than in Git.
See above. Hope it'll help. Cheers, |
|||
|
|
|
I like Distributed Revision Control Systems: Git vs. Mercurial vs. SVN: is a series of tools just like unix and contains a few layers such as it's plumbing and porcelin where as mercurial is more of a single tool ala svn. I also found mecurial to work better on windows when I started to learn both. To be fair git for windows is pretty stable now. |
||||
|
|
|
Here's an article about distributed SCMs by Eric Sink: |
||||
|
|
|
For a sysadmin, I believe backwards compatibility, stability, robustness, security, and backup are important topics then it comes to deploying a new tool. I can give you some information about Mercurial:
|
||||
|
|
|
One major win for Git is Github and the way it crosses source-hosting with a social-network to change the culture of your software project. Although other dcvss are probably comparable technically, github looks to me like a real step forward culturally. |
|||
|
|
|
Found Distributed SCM in GNOME -> http://live.gnome.org/DistributedSCM |
|||
|
|
|
For a biased comparison, see Why Git is Better than X |
||||
|
|