ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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
تم إضافة السؤال من قبل Aya Taleb , Senior Web Developer / Team Leader , Bayt.com / Talentera
تاريخ النشر: 2014/02/08
Hadjazi Amri
من قبل 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.

المزيد من الأسئلة المماثلة