2

I use git extension. I wanted the password and username to be store in cache so I used: git-credential-winstore. It worked fine until I had to change the password in my computer (win7) and it asked me again to insert password. I inserted a wrong password and it stores in the cache and I can't change it. I tried to uninstall git and no use. I deleted from .gitconfig file in user\myUser the lines:

[credential]
helper = !'C:\\Users\\grin_d\\AppData\\Roaming\\GitCredStore\\git-credential-winstore.exe'

The result was that I had to insert again every time the password and username. When I run again: git-credential-winstore it shows me again the wrong password.

Any idea how can I delete the wrong password stored in the cache?

1

2 Answers 2

3

Check the control panel / User Accounts and Family Safety / User Accounts, or directly the Credential Manager:

http://www.7tutorials.com/files/img/credentials_manager/cm2.png

(Image from "Credential Manager - Where Windows Stores Passwords & Login Details")

You should be able to delete the faulty credential there.

Update 2021:

The more recent credential helper would now be "manager-core", after "Git-Credential-Manager-Core" from Microsoft: a Git Credential Manager Core (GCM Core), a secure Git credential helper built on .NET that runs on Windows and macOS (Linux support is in an early preview).

To remove a password:

printf "protocol=https\nhostname=github.com" | git credential-manager-core erase
Sign up to request clarification or add additional context in comments.

1 Comment

Yes, it worked. Didn't though it exists in Windows. Thank you very much!
0

I use http://[yourgitserverip]/Bonobo.Git.Server/Repository/[repositoryname] to change my password. Then;

  1. Remove the git credential on Windows Credentials.
  2. Find the .gitconfig file in (c:/Users/[YourAccount] folder)
  3. Add this line (if does not exist):

    [credential] helper = !\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\"

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.