Git failed with a fatal error. could not read Password for 1

Git failed with a fatal error. could not read Password for

I did not have any git credentials registered with Windows Credentials and I still received this error, even after selecting my windows user account in the VS User Dialog popup.

After a day of trying different things like re-installing GIT for windows, I managed to fix this issue by deleting a this file: "C:\Users(profile)\AppData\Local\GitCredentialManager\tenant.cache".

On the next retry, a GIT entry showed up in my Windows Credentials generic list

Here is what the above code is Doing:
1. Create a new git repository
2. Add a new file to the repository
3. Commit the file to the repository
4. Connect the repository to a remote server
5. Add the server as a remote
6. Push the changes to the server

Similar Posts