Git bash win32exception: Failed to write credentials

I recently started using GitHub, but for some reason every time I try to pull or push, it asks for my credentials. I'm 100% sure my credentials are correct, but git bash keeps giving this error:

fatal: Win32Exception encountered.
       Failed to write credentials

      

I don't know why, but it works every time I reinstall git bash until next reboot.

Please ask for any information you might need because I am still not familiar with git.

+3


source to share


1 answer


Make sure you have installed accounting documentation withgit config -l|grep credential

On Windows, you need to make sure you have:



git config --global credential.helper manager

      

With recent Git for Windows , which uses Microsoft's Git Credential Manager , linked to Credential Manager on Windows .

+3


source







All Articles