0 votes
1 view
in DevOps and Agile by (20k 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 (28.4k 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.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !