“不支持身份验证":尝试克隆tfs托管的git repo时出现jgit错误 [英] "Authentication not supported": jgit error when trying to clone tfs hosted git repo

查看:215
本文介绍了“不支持身份验证":尝试克隆tfs托管的git repo时出现jgit错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试克隆tfs托管的git repo http://tfstta.com时:8080/tfs/DefaultCollection/_git/SampleTFSGit 从我的Linux机器上,我遇到身份验证不受支持"错误:

When I try to clone a tfs hosted git repo http://tfstta.com:8080/tfs/DefaultCollection/_git/SampleTFSGit from my linux machine, I face the Authentication not supported error:

org.eclipse.jgit.api.errors.TransportException:http://:@ tfstta.int.thomson.com:8080/tfs/DefaultCollection/_git/SampleTFSGit.git:不支持身份验证*

org.eclipse.jgit.api.errors.TransportException: http://:@tfstta.int.thomson.com:8080/tfs/DefaultCollection/_git/SampleTFSGit.git: authentication not supported*

启用基本身份验证/备用凭据似乎不是一种选择.

Enabling basic authentication/alternate credentials does not seem to be an option.

有人可以告诉我解决方法吗?我将非常感谢!

Could someone please tell me a work around for this? I would be very grateful!

推荐答案

转到Eclipse菜单

窗口->首选项->团队-> Git->右侧面板更新时间为3000.`连接超时(秒):3000.单击应用并关闭"按钮.再次克隆将解决您的问题.

Window -> Preferences -> Team -> Git -> right side panel update time to 3000. `Connection timeout (seconds): 3000. Click on Apply and Close button. Clone again it will solve your problem.

这篇关于“不支持身份验证":尝试克隆tfs托管的git repo时出现jgit错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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