为什么你使用Git而不是Mercurial? (或相反亦然。) [英] Why do you use Git over Mercurial? (Or vice versa.)

查看:75
本文介绍了为什么你使用Git而不是Mercurial? (或相反亦然。)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前使用Git,并且通常对此感到满意,但我想了解更多关于Mercurial的信息。它比Git有什么优势吗? Git优于Mercurial的是什么?



我意识到这两者之间已经有了详细的比较,但这并不是我所要求的。我不想要冷静的信息,而是慷慨激昂(但礼貌!!!)为什么你认为一个人更好/更容易/更快/更聪明/更强大/等等。

解决方案

(A)前三个 real 原因我选择使用Git而不是Mercurial:
$ b


  1. 历史随机性/惯性
  2. 历史随机性/惯性

  3. 历史随机性/惯性



(B)鉴于上述情况,我喜欢Git over Mercurial的前三件事:


  1. 索引

  2. 轻量级分支

  3. 标记标记(C)Mercurial通过Git完成的三件事:

>


  1. 更好 native 文档(强调 native ,因为 ProGit book 非常出色,任何对Git或Git模型有任何抱怨的人都应该直接去那里)

  2. 连续提交编号(本地存储器y范围而已,但我想这有时可能比切换并粘贴SHA-1时更方便?)

  3. 更好的徽标/名称
  4. $ b $ (B)中的所有项目(大部分?)是由于(A)或因为(A)而被用于Git模型的结果。通过插件在Mercurial中固定。但事实仍然是,Git以我想要的方式运行,并且我可以在没有任何(C)项目的情况下生活[考虑到由于出色的ProGit书籍,C(1)不会成为问题] 。所以,我继续在Mercurial上使用Git。


    I currently use Git, and am generally happy with it, but I'd like to know more about Mercurial. Does it have any advantages over Git? What are the advantages of Git over Mercurial?

    I realize there are already detailed comparisons of the two, but that's not what I'm asking for. I don't want dispassionate information, but rather impassioned (but polite!!!) reasons why you think one is better/easier/faster/smarter/stronger/etc.

    解决方案

    (A) Top 3 real reasons I use Git rather than Mercurial by choice:

    1. historical stochasticity / inertia
    2. historical stochasticity / inertia
    3. historical stochasticity / inertia

    (B) Given the above, the top 3 things I like about Git over Mercurial:

    1. the index
    2. lightweight branches
    3. sane tagging (a tag is not a commit that follows the commit that is being tagged)

    (C) The three things Mercurial has for it over Git:

    1. better native documentation (emphasis on native, because the ProGit book is simply outstanding, and anyone who has any complaints about Git or the Git model being too complex or confusing should go directly there)
    2. sequential commit numbering (local repository scope only, but I imagine this might sometimes be more convenient than cutting-and-pasting SHA-1's when fiddling about?)
    3. nicer logo/name?

    I think that all (most?) of the items in (B) are either a result of me being used to the Git model due to (A) or can be "fixed" in Mercurial through plug-ins. But the fact remains that Git works the way I want it to out of the box, and I can live without any of the (C) items [given that C(1) is rendered a non-issue due to the excellent ProGit book]. And, so, I continue to use Git over Mercurial.

    这篇关于为什么你使用Git而不是Mercurial? (或相反亦然。)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆