GIT error while connecting through visual studio-Git failed with a fatal error. fatal: Authentication failed

Recently, while pushing the recent changes to GIt I received following error.

Git failed with a fatal error.
fatal: Authentication failed for ‘http://<My Git Address>’.  The output window was showing the below error

GIT

The Issue

The most probable reason for this issue is the computer remember your credentials and it might not refresh your latest password change. In my case, I recently changed my password but the computer’s credential manager cached old password.

Fix

Fixing this issue is very simple. Search for “Credential manager” from your PCs startup menu. The following screen appears.Credential.PNG

Delete the GIT related entry. The goto visual studio and connect to GIT again. Now GIT will prompt for credentials.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s