I recently changed my Bitbucket password for security reasons. However, IntelliJ didn't update my repository to the new credentials, so it stops me from pulling/pushing anything to my repository. I am not using any plugins for this, just the integrated VCS operations inside the IDE.
Every time I pull/push, this pops out:
fatal: Authentication failed for 'https://momothereal:xxxxxxxxxxxx@bitbucket.org/team/repo.git/
Where xxxxxxxxxxxx is my old password. I think changing this remote address with the correct password would fix it, though I cannot find where to do so.
For Mac users this could also be helpful:
Credentials are stored in Keychain Access.app. You can just change them there.
After trying several answers, I was finally able to solve this issue (on window 10),
By updating the password stored in Git Credential Manger for Windows(GCM),
I needed to change my user name and password in Intellij Did it by
There you can change user name and password.
This worked for me on Intellij 12:
Open settings -> passwords, select "Do not remember passwords" and apply/ok.
Do your VCS fetch/update/push/whatever and it should ask you for a password.
Check remember password and OK, it should do the VCS thing correctly.
Go back to settings -> passwords and switch it back to "Remember on disk", then apply/ok.
IN Android Studio 2.3
Here you can change your new Password or User
For the record, if you've already configured Git on your terminal, there's an option in preferences to use native Git rather than the built-in (bundled) one.