0 0

gitblit无法使用Egit怎么办?10

当使用https协议的时候,使用git clone url一切正常.用egit就不行.提示cannot open gitupload-pack,根据官方FAQ的解答,添加了http.sslVerify=false.还是不行.但是如果用http协议有都正常,应该还是ssl的问题.不知道怎么调了.有人弄过吗?
下边是官方的FAQ

Eclipse/Egit/JGit complains that it "can't open upload pack"?
There are a few ways this can occur:

1.You are using https with a self-signed certificate and you did not configure http.sslVerify=false
Window->Preferences->Team->Git->Configuration
Click the New Entry button
Key = http.sslVerify
Value = false
已经添加了.
2.Gitblit GO's default self-signed certificate is bound to localhost and you are trying to clone/push between machines.
Review the contents of makekeystore.cmd
Set your hostname in the HOSTNAME variable.
Execute the script.
This will generate a new certificate and keystore for your hostname protected by server.storePassword.
这里的HOSTNAME我试过域名.试过计算机名,都不行.
3.The repository is clone-restricted and you don't have access.
http好用.用msysgit也可以clone下来.这条也排除了吧.
4.The repository is clone-restricted and your password changed.
这个没太看懂,是说我的帐号密码不对吗?也不可能.
5.A regression in Gitblit.
这是啥意思?

用TortoiseGit也不行....错误截图..


如果有更好的windows下git服务器就更好了..
2012年8月06日 21:04
  • 大小: 70.4 KB
目前还没有答案

相关推荐

Global site tag (gtag.js) - Google Analytics