Remove saved credentials from TortoiseGit

Gidil picture Gidil · Aug 3, 2015 · Viewed 53.8k times · Source

My credentials are saved in TortoiseGit (using Wincred) but my password changed.
The only way for me to pull from the repository now is to remove the Credential Helper.

How can I simply change the password?
Alternately, can I remove my credentials and save my new ones?

Answer

MrTux picture MrTux · Aug 3, 2015

Normally the invalid credentials should be purged automatically (after one unsuccessful authentication attempt).

Go to the Windows Credential Manager (press Windows and type "Credential Manager", or go to Control Panel\User Accounts and Family Safety\Credential Manager or use Start->Run rundll32.exe keymgr.dll,KRShowKeyMgr), there all saved credentials should be listed (prefixed with git:).

For ways to also remove saved credentials on other OS, see https://stackoverflow.com/a/39944557/3906760.