Change remote repository credentials (authenticati

2019-01-30 07:19发布

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.

14条回答
倾城 Initia
2楼-- · 2019-01-30 08:10

For Mac User Please Go to As Below:

(First of all you must have installed bitbucket plugin)

Android Studio -> Preference -> Other Settings -> Bitbucket

Now change your password and click on Test for verify it. Will also able to add SSH Key for login.

Also its depend on which plugin you used. Some have direct like

Android Studio -> Preference -> Bitbucket linky

查看更多
迷人小祖宗
3楼-- · 2019-01-30 08:12

In Intellinj IDEA 14, we can change the Git password by the following steps:

From the menu bar :

  1. Select File -> Settings -> Appearance & Behavior -> System Settings .

  2. Choose Passwords.

  3. Click the 'Master Password' under 'Disk storage protection'.

  4. In the Password field, enter your old password. Enter your new password in the subsequent fields.

  5. Now the master password will be changed.

查看更多
登录 后发表回答