简体   繁体   English

Git可以在Windows中运行吗?

[英]Does Git work in Windows?

I work on Linux all the time and I'm clueless about Windows, not even having a Windows box. 我一直在Linux上工作,我对Windows一无所知,甚至没有Windows机箱。 Is Git nowadays working on Windows? Git现在在Windows上工作吗? Or am I making problems for my Windows pals by using it? 或者我使用它为我的Windows好友制造问题?

As far as I can tell msysgit works perfectly well under Windows Vista. 据我所知, msysgit在Windows Vista下运行得非常好。

This after a whole 2-month experience checking out plugins and applications for Ruby on Rails :-) 这经过整整2个月的经验,检查Ruby on Rails的插件和应用程序:-)

Anyway, it was a breeze to install, no problem. 无论如何,安装是轻而易举的,没问题。

I have had no problems, even with the gui tools (gitk and git gui), using git from Cygwin . 即使使用gui工具(gitk和git gui),使用Cygwin的 git也没有问题。 The Cygwin people are very conscientious and have a large community to boot. Cygwin的人非常认真,有一个庞大的社区来启动。

Yes it does. 是的,它确实。 Check out this screencast at GitCasts . 看看GitCasts上的这个截屏视频

您还应该检查Git-Extensions ,它将git命令添加为shell扩展 - 与msysgit一起使用效果很好。

There's a port of Tortoise for GIT, in version 0.4 so far: 到目前为止,在GIT中有一个Tortoise端口,版本为0.4:

I've heard good things about it, but a sticking point for me (and the Japanese company I work for) is lack of cross-platform Unicode filename support. 我听说过它很好,但对我来说(以及我工作的日本公司)的一个难点是缺乏跨平台的Unicode文件名支持。 It depends if that particular feature is important to you. 这取决于该特定功能对您来说是否重要。

See Issue 80 in the msysgit bug tracker . 请参阅msysgit错误跟踪器中的问题80

See the What DVCS support Unicode filenames? 请参阅什么DVCS支持Unicode文件名? question I asked about this. 我问过这个问题。

It works, but not well. 它有效,但不是很好。 If you Google around a bit, you'll find the port which uses MinGW . 如果你谷歌一点,你会发现使用MinGW的端口 The main problems are instability and some very Linux-like tools (gittk). 主要问题是不稳定性和一些类似Linux的工具(gittk)。 If you really need it though, you should be able to get by. 如果你真的需要它,你应该能够顺利通过。

In the case you are primary using Eclipse as your IDE, there's a fine team provider called EGit, which is pretty easy to install. 在您主要使用Eclipse作为IDE的情况下,有一个很好的团队提供商,名为EGit,非常容易安装。 Check this: http://www.eclipse.org/egit/ 检查一下: http//www.eclipse.org/egit/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM