TFS Git存储库不断要求Windows命令提示符上的凭据(TFS Git repository asking constantly for credentials on Windows Comma

编程入门 行业动态 更新时间:2024-10-28 14:22:46
TFS Git存储库不断要求Windows命令提示符上的凭据(TFS Git repository asking constantly for credentials on Windows Command Prompt)

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

程序集'Atlassian.Bitbucket.Authentication.Authentication'中的方法'DeleteCredentials'来自程序集'Bitbucket.Authentication,Version = 1.2.0.0,Culture = neutral,PublicKeyToken = null'没有实现。

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

并且要求提供凭据。 我不明白Atlassian图书馆与此有什么关系。

git --version抛出:

git版本2.17.1.windows.2

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

这是在我更新了Windows的git之后开始发生的。

Each time I try to pull changes from a git repository in TFS, I get the following error using the Windows Command Prompt:

Method 'DeleteCredentials' in type 'Atlassian.Bitbucket.Authentication.Authentication' from assembly 'Bitbucket.Authentication, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Username for 'https://tfs.jll.com':

and the credentials are asked. I don't understand what an Atlassian library has to do with this.

git --version throws:

git version 2.17.1.windows.2

Any ideas on what could be the cause of this?

This started happening after I updated git for Windows.

最满意答案

更新: 已报告问题并已修复 。 您可以在此处获取git凭证管理器的更新。

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

但是,有一个可行的解决方法。 转到WSL并从那里推送。 有用。

wsl git push

另一种方法是使用Ssh端点。

Update: Issue was reported and has been fixed. You can get the update for git credential manager here.

I also think this is due to some bug on 2.17.2. I am getting the same exact message. I guess we will have to wait for them to fix it.

There is a working workaround, though. Go to WSL and push from there. It works.

wsl git push

Another alternative is to use an Ssh endpoint.

更多推荐

本文发布于:2023-08-06 17:31:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1453747.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:凭据   命令提示符   Git   Windows   TFS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!