git pull失败,并显示“应用程序未调用WSAStartup或WSAStartup失败". [英] git pull fails with "Either the application has not called WSAStartup, or WSAStartup failed"

查看:199
本文介绍了git pull失败,并显示“应用程序未调用WSAStartup或WSAStartup失败".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了Windows 10,Visual Studio Community 2015和适用于Windows的Git .我还安装了最新的Bitbucket和GitHub扩展.

I have just installed Windows 10, Visual Studio Community 2015, and Git for Windows. I also installed the latest Bitbucket and GitHub extensions.

在Visual Studio中,我克隆了由Bitbucket.com托管的存储库,并成功执行了以下操作:

Within Visual Studio I cloned my Bitbucket.com-hosted repository, and performed these operations successfully:

$ git --version
git version 2.19.2.windows.1

$ git pull
Already up to date.

但是当我尝试从另一个存储库中提取时,出现此错误:

But then when I tried to pull from another repository I got this error:

$ git pull git://github.com/aegif/CmisSync.git
fatal: unable to lookup github.com (port 9418) (Either the application has not called WSAStartup, or WSAStartup failed. )

虽然我可以ping github.com.

I am able to ping github.com though.

如何调查并解决问题?

推荐答案

对于那些无法编辑URL的人,将git降级到以前的版本似乎可行.

For those who can't edit the URL, downgrading git to the previous version appears to work.

这似乎是git版本2.19.2.windows.1

这篇关于git pull失败,并显示“应用程序未调用WSAStartup或WSAStartup失败".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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