Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.4k points)
edited by
I've been using git for some time now on Windows (with msysGit) and I like the idea of distributed source control. Just recently I've been looking at Mercurial (hg) and it looks interesting. However, I can't wrap my head around the differences between hg and git.

Has anyone made a side-by-side comparison between git and hg? I'm interested to know what differs hg and git without having to jump into a fanboy discussion.

1 Answer

+1 vote
by (27.5k points)

Git saves a record of every version of committed files internally, while Mercurial or Hg saves just the changesets which can have a smaller footprint. 

Let us take a look at the commands in both Git and Hg.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...