Change Github account in Android Studio

后端 未结 11 757
我在风中等你
我在风中等你 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 03:02

    In my case none of working. This way works for me.

    Steps:

    1. Open Settings of Android studio
    2. Select Appearance & Behavior
    3. Select System Settings
    4. Select Passwords
    5. Select Do not remember passwords
    6. Click on OK

    Now its time to Push your source code to Git, Android studio would ask for new username and its password.

    Reference screenshot.

    Done

提交回复
热议问题