Windows的MSysGit与Git [英] MSysGit vs. Git for Windows

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

问题描述

我在确定 Windows的MSysGit和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?

推荐答案

它们不是同一回事吗?

在: http://msysgit.github.com/标题是Windows的Git,该应用程序是msysgit.

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

即使不是这样,我希望唯一的区别将在于编译方法(即使用的编译器和设置的任何选项)以及任何无关的包装(例如在msysgit中具有bash仿真shell).实际产品(Git本身)应该保持大致相似.

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.

编辑:感谢Jarrod指出了这一点.我将以上内容留作后代.引用维基:

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

msysGit是开发环境 编译Windows的Git.它是 完整,从某种意义上说, 需要安装msysGit,然后您 可以构建Git.不安装任何 第三方软件. msysGit不是Windows的Git.那 是一个安装Git的安装程序- 而且只有Git.

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.

很容易看出区别: Git的安装程序带有前缀 Git-,msysGit安装程序具有 前缀msysGit-.另一个故事是 msysGit安装程序进来了 两种版本:完全安装和 网络安装.此外,msysGit不会 通过安装到C:\ Program Files 默认.但是msysGit带有gcc, GNU C编译器.

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.

因此,两个项目之间的区别:

  • msysGit msys + mingw环境+ Windows上自己编译Git所需的一切.
  • 适用于Windows的Git 就是:适用于Windows的Git.
  • 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与Git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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