Change Github account in Android Studio

后端 未结 11 582
我在风中等你
我在风中等你 2021-02-05 02:37

I have used one Github account to push an android project to Github from Android Studio. Now I have created another account on Github and want to push my another android project

11条回答
  •  余生分开走
    2021-02-05 02:55

    I had the same problem and had solved it.
    With current Android Studio 3.5 we can add several github account

    with several github account added we can select one for the default for specific project.

    or

    change the git username and email:

    • git config user.name "your username"
    • git config user.email "youremail.com"


    add --global if you want change for global config

提交回复
热议问题