当使用git的窗口,git bash无法正常工作? [英] when using git for windows, git bash could not work?

查看:543
本文介绍了当使用git的窗口,git bash无法正常工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在windows7中安装git-1.8,但遇到这个问题(几乎每次我使用'git config'或其他的时候),有人可以告诉我为什么以及如何修复?

解决方案

我有Windows的msysgit和GitHub,但我会建议使用msysgit的可移植版本,以避免Windows注册表中出现任何冲突。
$ b

另外, WFSO Windows semaphore WaitForSingleObject ),如 issue 457 。它是资源死锁的一个症状,资源将被bash(G4W和msysgit)使用。
$ b


随着多路复用在客户端产生之前还有第二个线程从套接字中读取数据,并且一直持续到应该写入所有来自子节点的数据为止。这会导致死锁。


我试着不要同时使用它们。


I install git-1.8 in windows7, but encounter this problem(nearly every time when I use 'git config' or some else), can someone tell why and how to fix?

解决方案

I have both msysgit and GitHub for Windows, but I would recommend using the portable version of msysgit in order to avoid any conflict in the Windows registry.

Also, WFSO is a Windows semaphore (WaitForSingleObject), illustrated in issue 457 for instance. It is a symptome of a resource deadlock, resource which would be use by both bash (G4W and msysgit)

With the addition of the multiplexing there is a second thread reading from the socket before the client is spawned and it continues until after all the data from the child is supposed to be written. This causes a deadlock.

I try not use them at the same time.

这篇关于当使用git的窗口,git bash无法正常工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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