$ git --version --build-options
git version 2.17.1.windows.2
cpu: x86_64
built from commit: a60968cf435951d9411fc0f980a2e362d5cccea2
sizeof-long: 4
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.17134.81]
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
Editor Option: Nano
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
Using Sourcetree 2.6.3
CMD (cmder)
git push --set-upstream origin foo
Pushed to remote
Pushed to remote worked.
Before pushing, console has error message
fatal: TypeLoadException encountered.
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.
fatal: TypeLoadException encountered.
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.
Occurs with all repositories
Seems others are experiencing this issue:
https://stackoverflow.com/questions/50708020/tfs-git-repository-asking-constantly-for-credentials-on-windows-command-prompt
It is not clear to me whether this is a problem with Sourcetree, Git For Windows or Git Credential Manager.
Same problem with git version 2.17.1.windows.2. With 2.17.0 I haven't got this error. Same error with 32 and 64 bit git. I have sourcetree installed but I don't use it.
This one is my fault.
See: https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/651
I'll have a fix out asap.
This issue was fixed yesterday, and an update was releases last night.
@dscho is that enough to close this issue?
@Imi3est you can download and install the updated credential manager, and you're issue should go away.
@dscho is that enough to close this issue?
Yes, I think so ;-) Thank you so much for all your hard work!
Most helpful comment
This one is my fault.
See: https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/651
I'll have a fix out asap.