how to switch to the other git account in Intellij Idea

13,604

You'll need to completely change the Github account credentials for IntelliJ.

  1. Go into your Settings with Ctrl+Alt+S.
  2. Go to Version Control > Github
  3. Edit your credentials.

As you noted in the comments to your question, you need to change the Author Name as well.

Share:
13,604

Related videos on Youtube

Bensson
Author by

Bensson

Updated on September 15, 2022

Comments

  • Bensson
    Bensson over 1 year

    I use Intellij Idea 15. I commit code to github with account A before, And I want use account B commit code to github now. How to switch to the other account?

    • Bensson
      Bensson about 8 years
      No, This issue related to Intellij idea, Actually I done some change in command line. Intellij idea still use the old account.
    • Harmelodic
      Harmelodic about 8 years
      As I said, IntelliJ doesn't support multiple account management, you'll have to login to a different account through Settings > Version Control > Github to change to a different Github account. I was implying that you perform your git commits and git pushes via command line whilst managing multiple accounts on the same computer.