1

This seems like an issue in BitBucket plugin for Android studio, I changed my BitBucket account password from bitbucket.com and after that my existing repos cannot be synced with bitbucket.

I got following error when I try to push my changes to my repos: Push failed fatal: Authentication failed for 'https://:@bitbucket.org/.git/'

Any idea how to fix this ?

Thanks

FHDFRD
  • 66
  • 1
  • 8
  • See: http://stackoverflow.com/questions/28142361/change-remote-repository-credentials-authentication-on-intellij-idea-14 – Morrison Chang Oct 17 '15 at 05:01
  • Does not work.So far only method working for me is if I completely delete the project from my hard drive and checkout from bitbucket (thus creating a new folder on hard drive) this way it asks for password again and thereon works well. – FHDFRD Oct 18 '15 at 14:56

2 Answers2

1

I had the same issue and fixed it by following way!

1.Go to [project]/.git directory.
2.Open for edit 'config' file.
3.In '[remote "origin"]' section find 'url' property and replace your old password with new one.

Reload the project. Done!

Sudheesh Mohan
  • 2,560
  • 3
  • 21
  • 38
0

you should to add your user and password bitbucket in your gitUrl.

https://user:password@bitbucket.org/.git if this way not work , you have to go in personal setting in bitbucket and go in to App Passwords and create a password and use this : https://user:new password@bitbucket.org/.git

AminFeizi
  • 31
  • 5