Change Github account in Android Studio

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

    Perhaps not the answer you are wanting, but you can probably solve this by finding out where the project code is stored by android studio and changing the git remote there.

    For example, if you want to change where the main repository you push to, enter this in the command line when inside the project directory: git remote set-url origin

提交回复
热议问题