【问题标题】:TFS Git repository asking constantly for credentials on Windows Command PromptTFS Git 存储库在 Windows 命令提示符上不断询问凭据
【发布时间】:2018-11-15 09:48:30
【问题描述】:

每次我尝试从 TFS 中的 git 存储库中提取更改时,使用 Windows 命令提示符都会收到以下错误:

类型中的方法“DeleteCredentials” 来自程序集的“Atlassian.Bitbucket.Authentication.Authentication” 'Bitbucket.Authentication,版本=1.2.0.0,文化=中性, PublicKeyToken=null' 没有实现。

https://tfs.jll.com”的用户名:

并询问凭据。我不明白 Atlassian 库与此有什么关系。

git --version 抛出:

git 版本 2.17.1.windows.2

关于这可能是什么原因的任何想法?

这在我为 Windows 更新 git 后开始发生。

【问题讨论】:

  • 你安装了 SourceTree 吗?如果有,是最新版本吗?
  • 不,我没有安装 SourceTree。
  • 我在更新到 git 2.17.1.windows.2 后实际上遇到了同样的问题,而且我没有使用任何与 atlassian 相关的东西
  • 我也有这个问题,我也相信是2.17.2.
  • 在这里提出了一个错误:github.com/git-for-windows/git/issues/1711

标签: windows git tfs cmd


【解决方案1】:

更新: 问题 was reportedhas been fixed。您可以获取 git credential manager here 的更新。

我也认为这是由于2.17.2 上的一些错误。我收到了同样的信息。我想我们将不得不等待他们修复它。

不过,有一个可行的解决方法。转到 WSL 并从那里推送。它有效。

wsl git push

另一种选择是使用 SSH 端点。

【讨论】:

    猜你喜欢
    • 2020-06-05
    • 1970-01-01
    • 2018-03-04
    • 2015-06-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多