pav*_*van 4 authentication git-clone http-status-code-401 tfs-2015
当我尝试从我的 linux 机器克隆一个 tfs 托管的 git repo http://tfstta.com:8080/tfs/DefaultCollection/_git/SampleTFSGit 时,我遇到了 Authentication not supported 错误:
org.eclipse.jgit.api.errors.TransportException:http://:@tfstta.int.thomson.com:8080/tfs/DefaultCollection/_git/SampleTFSGit.git:不支持身份验证*
启用基本身份验证/备用凭据似乎不是一个选项。
有人可以告诉我一个解决方法吗?我会很感激!
转到 Eclipse 菜单
窗口 -> 首选项 -> 团队 -> Git -> 右侧面板更新时间为 3000。`连接超时(秒):3000。单击应用和关闭按钮。再次克隆它将解决您的问题。
Cec*_*SFT -1
当您使用下面的命令时,系统会提示您输入用户名和密码。
git-clone http://:@tfstta.int.thomson.com:8080/tfs/DefaultCollection/_git/SampleTFSGit
Run Code Online (Sandbox Code Playgroud)
在我的测试中,当发送命令时,系统会提示您Windows安全。不需要使用基本身份验证/备用凭据,只需键入域名\用户名,密码就会连接到 TFS。
| 归档时间: |
|
| 查看次数: |
12287 次 |
| 最近记录: |