首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何解决从git://github.com/pengwynn/linkedin.git安装linkedin时出现的git错误?

如何解决从git://github.com/pengwynn/linkedin.git安装linkedin时出现的git错误?
EN

Stack Overflow用户
提问于 2012-04-16 15:11:36
回答 2查看 1.9K关注 0票数 5

在ROR中使用bundle install时,我得到了这个错误。

获取git:// github.com /pengwynn/linkedin.git致命:无法查找github.com(端口9418) (未知此类主机。)Git错误:目录C:/linkedin/linkedin中的命令git clone "git://github.com/pengwynn/linkedin.git" "C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/ca che/bundler/git/linkedin-3e3919d62b37a1f8879ade6b51b3eeb032fc8973" --bare --no-hardlinks失败。

我用的是windows。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2012-04-16 15:16:59

您是否在防火墙后面阻止端口9418上的连接?也许你可以尝试一下http协议?

代码语言:javascript
运行
复制
git clone https://github.com/pengwynn/linkedin.git
票数 5
EN

Stack Overflow用户

发布于 2013-01-30 18:15:00

代码语言:javascript
运行
复制
Set proxy using git config command in the command prompt with
the following two commands: 
    git config --global http.proxy http://username:password@host:port 
    git config --global https.proxy http://username:password@host:port

In command like:
    git clone git://github.com/saasbook/hw2_rottenpotatoes.git
Replace replace git:// with https://.
    git clone https://github.com/saasbook/hw2_rottenpotatoes.git
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10169991

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档