Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS Git repository asking constantly for credentials on Windows Command Prompt

Tags:

git

windows

cmd

tfs

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.

like image 248
aibars Avatar asked Jun 05 '18 19:06

aibars


1 Answers

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.

like image 170
Giovanni Bassi Avatar answered Oct 22 '22 03:10

Giovanni Bassi