How to change GitHub repository in IDEA Intellij?

前端 未结 2 2115
死守一世寂寞
死守一世寂寞 2021-02-11 15:42

I\'ve lost access to my previous account on GitHub, so created new one and now, when I am trying to share my project ( which was shared on GitHub before), I get this message:

相关标签:
2条回答
  • 2021-02-11 16:23

    Update or add Git repository URL in Intellij

    VCS - > Git - > Remotes

    Popup will open with all repository URLs configured, you can simply edit them or add new one.

    0 讨论(0)
  • 2021-02-11 16:29

    TO CHANGE GITHUB CREDENTIALS

    From an open project:

    File > Settings > [Project Settings] > Version Control > GitHub

    Or

    File > Other Settings > Default Settings > [Template Project Settings] > Version Control > GitHub

    From the Welcome Screen

    Configure > Settings > [Template Project Settings] > Version Control > GitHub

    TO CHANGE THE GIT REPOSITORY

    This needs to be done via command line or the Terminal Tool Window in IDEA (Tools > Terminal Window). See Stackoverflow topic How to change a remote repository URI using Git? for information.

    0 讨论(0)
提交回复
热议问题