Reputation: 177
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?
Upvotes: 2
Views: 4314
Reputation: 1323035
Check the control panel / User Accounts and Family Safety / User Accounts, or directly the Credential Manager:
(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
Upvotes: 3
Reputation: 484
I use http://[yourgitserverip]/Bonobo.Git.Server/Repository/[repositoryname] to change my password. Then;
Add this line (if does not exist):
[credential] helper = !\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\"
Upvotes: 0