Size: 1621
Comment:
|
Size: 324
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Mercurial for Git users = [http://git-scm.com Git] is a very popular DistributedSCM that works very similarly to Mercurial. However, there are some conceptual differences that may puzzle the casual Git user when using Mercurial. In general, Git's feature set is the largest among all [:DistributedSCM:DVCS] software, but Mercurial can equally cover a great extent of it. This document tries to show how. == History model == Mercurial's view of history is, just like git's, a [:UnderstandingMercurial:DAG] or Directed Acyclic Graph of commits. The difference is that, in Mercurial, commits are called ''changesets'' and there is no notion of trees and blobs because Hg is a bit more bound to the file system than git is. Aside from that, the graphical representation of history is the same in both cases. They both use the SHA1 result value to identify commits/changesets. Additionally, Mercurial also provides a '''local''' ascending number for each revision instead of providing the reverse count notation provided by git (for example, HEAD~4). == Branch model == Also like in git, Mercurial supports branching in different ways. First and foremost, each clone of a repository represents a branch; eventually identical to other clones of the same repositories. This way of branching sometimes referred as ''heavy branches'' and it works the same for both systems, although the way is handled differs slightly due to git's notion remote branches; more on this later. Then git has its famous ''lightweight branches''. '''''UNFINISHED, PLEASE DO NOT LINK YET''''' |
Rey is what folks call him yet he doesn't like whenever folks use his full name. Virgin Islands has always been his house. To fix computers is something he would never give up. Accounting has been his industry for some time. You may constantly discover his website here: http://ankuzic.com/members/zugvirgie/activity/3081/ |
Rey is what folks call him yet he doesn't like whenever folks use his full name. Virgin Islands has always been his house. To fix computers is something he would never give up. Accounting has been his industry for some time. You may constantly discover his website here: http://ankuzic.com/members/zugvirgie/activity/3081/