Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeleteCredentials issue since v2.17 #1711

Closed
1 task done
JoshSchreuder opened this issue Jun 7, 2018 · 4 comments
Closed
1 task done

DeleteCredentials issue since v2.17 #1711

JoshSchreuder opened this issue Jun 7, 2018 · 4 comments
Assignees
Labels

Comments

@JoshSchreuder
Copy link

JoshSchreuder commented Jun 7, 2018

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

git version 2.17.1.windows.2
cpu: x86_64
built from commit: a60968cf435951d9411fc0f980a2e362d5cccea2
sizeof-long: 4
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [Version 10.0.17134.81]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# 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
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?
Using Sourcetree 2.6.3

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
CMD (cmder)
git push --set-upstream origin foo
  • What did you expect to occur after running these commands?
Pushed to remote
  • What actually happened instead?
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.
  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?
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.

@Imi3est
Copy link

Imi3est commented Jun 7, 2018

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.

@whoisj
Copy link

whoisj commented Jun 7, 2018

This one is my fault.

See: microsoft/Git-Credential-Manager-for-Windows#651

I'll have a fix out asap.

@whoisj
Copy link

whoisj commented Jun 8, 2018

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.

@whoisj whoisj self-assigned this Jun 8, 2018
@whoisj whoisj added the bug label Jun 8, 2018
@dscho
Copy link
Member

dscho commented Jun 9, 2018

@dscho is that enough to close this issue?

Yes, I think so ;-) Thank you so much for all your hard work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants