Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Fatal: authentication failed" error when pushing to bitbucket repo

I am trying to authenticate in windows 7 terminal : git push. Used to work before but now i am getting :

fatal: authentication failed for https://bitbucket.srv....

However i can login through my browsers to same repo. Is this a git issue? How to resolve?

like image 438
bier hier Avatar asked Dec 03 '18 01:12

bier hier


1 Answers

Go to Control Panel -> Credentials Manager -> Windows Credentials and see if there's an entry for it in there. If so, remove it and attempt to push again. You should then be re-prompted for username and password.

enter image description here

like image 145
cody Avatar answered Oct 25 '22 01:10

cody