Quantcast
Channel: W3LC - World Wide Web Learners Consortium
Viewing all articles
Browse latest Browse all 108

Git password expired. How to reset git authentication?

$
0
0

Sometimes, when you try to git clone the git repository or do any push or pull, it says:
remote: HTTP Basic: Access denied  fatal: Authentication failed for "~~yourRepositoryName"

The simplest reason is that your password is expired and/or changed externally. And, you need to change it for git to understand.

So, the question comes that How can you re-access your git repository or simpley put - How will you reset the password credentials.

Solution: Cheers, its simple.

Command:
git config --system --unset credential.helper

This will start resetting your credential manager stored wrong authentication password. Will ask for new password.
And, that's it. Enjoy.

Viewing all articles
Browse latest Browse all 108

Trending Articles