I have recently updated my Github password at work (corporate Github account). I had configured Git on one of my VM which is Windows 10. Not whenever I do git pull
or git push
it throws error message:
remote: Invalid username and password
fatal: Authentication failed for 'https://<my_project_repository>'
I tried many of the options available online but none of them is helping which can bring the username/password prompt back. I even tried uninstalling and reinstalling it but it didn't help either.
I am not using Git GUI. Using it through Git bash only.
Any help?
I have encountered the same issue. Reinstalling won't solve it. You will have to update it in your Credential Manager. Go to Control Panel > User Accounts > Credential Manager > Windows Credentials. You will see Git credentials in the list (e.g. git:https://). Click on it, update the password, and execute git pull/push command from your Git bash and it it won't throw any error message.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With