search

Home  >  Q&A  >  body text

intellij-idea-2016 - How to change the git account password in intellij idea 2016?

When using intellij idea 2016 ULTIMATE, you need to submit the code to the git warehouse.

At this time, I used my colleague’s git warehouse account password.

The result is tragic:

  1. intellij idea 2016 Remembered the account password.

  2. As a result, every time I submit code, the name of the submitter displayed in the code repository is the name of my colleague!

In order to solve this problem, I tried the following methods, but none of them worked!

  1. Uninstallidea;

  2. Uninstallgit;

  3. Clear idea, git cache;

  4. Recheck out the git code;

  5. sets idea’s password to: do not remeber passwords;


To sum up, which expert has encountered the same problem and solved it? Waiting online! ............

PHPzPHPz2807 days ago1646

reply all(7)I'll reply

  • 阿神

    阿神2017-05-02 09:38:57

    Answer yourself, windows7 Example:

    控制面板>> 用户账户 >> 凭据管理 >> Find your git account credentials and modify them - -#

    reply
    0
  • 迷茫

    迷茫2017-05-02 09:38:57

    git remote -vView the remote warehouse, then delete your colleague’s, add your own, and command Baidu yourself.

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-02 09:38:57

    file->settings->searchpassword->github tab, trytry

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-02 09:38:57

    What you need is this command: git config -e global

    reply
    0
  • ringa_lee

    ringa_lee2017-05-02 09:38:57

    First git remote -v 检查一下 origin 的地址是不是指向了你同事的 clone 地址 (这个和用的哪种 git 仓库有关)
    然后 git config --list 检查下 user.name 以及 user.email

    reply
    0
  • 阿神

    阿神2017-05-02 09:38:57

    Set git config

    reply
    0
  • ringa_lee

    ringa_lee2017-05-02 09:38:57

    It is recommended to open git bash in the local project directory, and then enter git config --local -l to check whether it is your colleague's account. If so, just use git config to reset it to your own.

    reply
    0
  • Cancelreply