用于Windows的msysGit vs Git [英] msysGit vs Git for Windows

查看:113
本文介绍了用于Windows的msysGit vs Git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法确定msysGit和Windows版Git之间的区别。他们有什么不同?为什么我会选择一个呢?

解决方案

它们不是同一件事吗?

开: http://msysgit.github.com/ 标题为Windows的Git ,应用程序是msysgit。



即使在它们不是的情况下,我希望唯一的区别是编译方法(即使用编译器和任何选项集)和任何无关的包装(例如在msysgit中有一个bash仿真外壳)。实际产品(Git本身)应保持大致相似。






编辑:感谢Jarrod指出这一点。我已经将上述内容留给了后人。引用wiki:


msysGit是开发环境
来编译Git for Windows。它是
完成的,因为您只需
需要安装msysGit,然后您
就可以构建Git。无需安装任何
第三方软件。
msysGit不是适用于Windows的Git;
是安装Git -
并且只安装Git的安装程序。



很容易看出差异:
安装程序对于Git有前缀
Git-,msysGit安装程序有
前缀msysGit-。另一个告诫是
,msysGit安装程序有
两种风格:fullinstall和
netinstall。此外,msysGit不会
安装到C:\程序文件
默认值。但msysGit附带gcc,
GNU C编译器。


所以,两个项目的区别 / strong>是在Windows上自己编译Git所需的所有东西。

  • 适用于Windows的Git 恰恰是:为Windows编译的Git。


  • I am having trouble determining the difference between msysGit and Git for Windows. How are they different? Why would I choose one over the other?

    解决方案

    Are they not the same thing?

    On: http://msysgit.github.com/ The title is Git for Windows, the application is msysgit.

    Even in the event they are not, I expect the only differences will be in the method of compilation (i.e. compiler used and any options set) and any extraneous packaging (such as having a bash emulating shell as in msysgit). The actual product (Git itself) should remain broadly similar.


    Edit: Thanks to Jarrod for pointing this out. I've left the above in for posterity. To quote the wiki:

    msysGit is the development environment to compile Git for Windows. It is complete, in the sense that you just need to install msysGit, and then you can build Git. Without installing any 3rd-party software. msysGit is not Git for Windows; that is an installer which installs Git -- and only Git.

    It is easy to see the difference: the installers for Git have the prefix Git-, the msysGit installers have the prefix msysGit-. Another telltale is that the msysGit installers come in two flavors: fullinstall and netinstall. Further, msysGit does not install to C:\Program Files by default. But msysGit comes with gcc, the GNU C Compiler.

    So, the difference between the two projects:

    • msysGit is the msys+mingw environment + everything needed to compile Git yourself, on Windows.
    • Git for Windows is exactly that: Git, compiled for Windows.

    这篇关于用于Windows的msysGit vs Git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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