Change Github account in Android Studio

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

    You need to first go to: Setting --> Version Control --> GitHub --> Change you username. (just like Nir Duan) said.

    Then go to: VCS --> Checkout of Version Control --> Github

    Log in with new credentials if asked, Change the Git URL and possibly parent directory, Click on clone, open in another window, wait for it to load. close the new window.

    Next time you want to push you will see the new repository as part of the options at the top left on the "Push commit" pop-up

提交回复
热议问题