【发布时间】:2015-02-22 09:18:23
【问题描述】:
我一直在尝试通过 cmd 创建一个新的ember.js 项目,但我一直得到这个错误
Failed to execute
git ls-remote --tags --heads git://github.com/rwjblue/ember-qunit-builds.git
exit code of #128 </strong><br/><br/>
您将如何避免该错误消息?
【问题讨论】:
我一直在尝试通过 cmd 创建一个新的ember.js 项目,但我一直得到这个错误
Failed to execute
git ls-remote --tags --heads git://github.com/rwjblue/ember-qunit-builds.git
exit code of #128 </strong><br/><br/>
您将如何避免该错误消息?
【问题讨论】:
这可能是因为在您的情况下协议 git(使用端口 9418)被阻止。
您可以通过以下方式指示 git 使用 https 代替 git:
git config --global url."https://".insteadOf git://
【讨论】: