在 Intellij IDEA 14 上更改远程存储库凭据(身份验证) [英] Change remote repository credentials (authentication) on Intellij IDEA 14

查看:54
本文介绍了在 Intellij IDEA 14 上更改远程存储库凭据(身份验证)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于安全原因,我最近更改了我的 Bitbucket 密码.但是,IntelliJ 没有将我的存储库更新为新凭据,因此它阻止我将任何内容拉入/推送到我的存储库.我没有为此使用任何插件,只是在 IDE 中使用了集成的 VCS 操作.

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:

致命:'https://momothereal:xxxxxxxxxxxx@bitbucket.org/team/repo 的身份验证失败.混帐/

其中 xxxxxxxxxxxx 是我的旧密码.我认为用正确的密码更改这个远程地址可以解决这个问题,但我找不到在哪里这样做.

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.

推荐答案

以上所有方法中最简单的方法是:

The easiest of all the above ways is to:

  1. 进入设置>>外观&行为>>系统设置>>密码
  2. 将设置更改为根本不存储密码
  3. 使 IntelliJ 无效并重新启动
  4. 转到设置>>版本控制>>Git>>SSH 可执行文件:内置
  5. 执行取/拉操作
  6. 出现提示时输入密码
  7. 再次进入设置>>外观&行为>>系统设置>>密码
  8. 这次选择在磁盘上存储密码(受主密码保护)

瞧!

请注意,如果您的密码在您的 URL 中,这将不起作用.如果是这种情况,那么您需要按照@moleksyuk 此处

Note that this will not work if your password is in your URL itself. If that is the case then you need to follow the steps given by @moleksyuk here

您还选择使用 IntelliJ 中的凭据帮助程序选项来实现与 Ramesh 建议的类似功能此处

You also choose to use the credentials helper option in IntelliJ to achieve similar functionality as suggested by Ramesh here

这篇关于在 Intellij IDEA 14 上更改远程存储库凭据(身份验证)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆