Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the difference between GIT and Mercurial/Tortoise?

I need to know what are the differences between GIT and Mercurial/Tortoise? i used Mercurial/Tortoise before but really i don't know the main difference between it and the other subversion controls. Thanks.

user-image
Question ajoutée par Aya Taleb , Senior Web Developer / Team Leader , Bayt.com / Talentera
Date de publication: 2014/02/08
Hadjazi Amri
par Hadjazi Amri , SENIOR LEAD JAVA/J2EE DEVELOPER , worldline

Git and Mercurial both are distributed version control system (DVCS).

The most distinguishing part of Git is the repository format, he keeps track of every change you make, storing them in the reflog (to inspect it 'git reflog'). After thirty days, Git will remove entries that not has reference from the reflog (garbage collected). What is important to note is that the identity of each object is a hash of the contents, which means everything is immutable. 

Git means never having to say "you should have".

 

 

The second thing Mercurial makes very difficult to retroactively tweak commits, with Git it's easy to go back in time to edit earlier commits if necessary with the simple command line (git rebase --interactive origin/master) it launches a test editor and lets you modify the history of Git to your heart's content, and with mercurial we must use an extension called Mercurial Queues.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?