EGit复制无效 [英] EGit Clone Does not work

查看:59
本文介绍了EGit复制无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以从命令行克隆,但不能通过EGit(Eclipse)克隆。广泛使用Google搜索无法得出答案。以前已经问过很多次了,我几乎尝试了所有建议的方法。
我不断收到无法打开git-upload-pack。是的,我可以从命令行克隆然后导入。然后通过Eclipse提交并从命令行推送。我已经这样做了一段时间。除拉动外,其他所有东西都起作用。这个功能刚刚坏了吗?

I can clone from command line but not via EGit (Eclipse). Extensive Googling did not yield an answer. This has been asked many times before, and I tried pretty much everything suggested. I keep getting" cannot open git-upload-pack". Yes, I can clone from command line and then import. Then commit via Eclipse and push from command line. I have been doing so for a while now. Everything except pull and push works. Is this functionality just broken?

推荐答案


  • 如果您坐在代理后面,请检查Eclipse代理设置

  • Eclipse错误日志中的任何错误?

  • EGit 1.3.0可以明确地通过https克隆

  • 什么样的HTTP身份验证您的git服务器想要什么?
    时刻的JGit / EGit仅支持基本身份验证和摘要身份验证

  • 您的服务器是否使用自签名SSL证书?然后,您需要
    (在EGit端)告诉Java它应该信任此证书,或者使用git配置参数https.verify = false
  • $ b $将SSL证书中的
    关闭。 b

    • if you are sitting behind a proxy check your Eclipse proxy settings
    • any errors in the Eclipse error log ?
    • EGit 1.3.0 can definitively clone over https
    • what kind of http authentication does your git server want ? JGit/EGit at the moment only supports basic and digest authentication
    • is your server using a self-signed SSL certificate ? Then you either need to tell Java (on the EGit end) that it should trust this certificate or switch off the SSL certificate using the git configuration parameter https.verify=false
    • 这篇关于EGit复制无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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