【发布时间】:2012-12-19 16:56:33
【问题描述】:
我正在尝试通过来自 egit 的 https 从 github 企业服务器克隆 git repo,但我收到以下错误:
https://myServer/myOrg/myRepo.git: cannot open git-upload-pack:
https://myServer/myOrg/myRepo.git: cannot open git-upload-pack
我尝试将以下内容添加到我的 .gitconfig 中,但我遇到了同样的错误。
[http]
sslVerify = false
我可以使用 msysgit 从我的 github 企业服务器克隆一个 repo,没有任何问题。我还可以使用 egit 或 msysgit 在 github 上成功克隆一个 repo。 我正在使用 EGit 的 2.1.0 版本。 我们的 git 服务器不在代理后面,它使用基本身份验证。
知道为什么我不能从 egit 克隆。
【问题讨论】:
-
您没有在 Eclipse 中配置代理?问题可能是它正在在不应该尝试代理时尝试。
-
不,我没有在 Eclipse 中配置代理。好主意。
标签: eclipse git https egit github-enterprise