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 to this new account. But I am not able to find any option to change the Github account in Android Studio. It keeps pushing from the previous account and hence results in this error:
remote: Permission to new_username/repository_name.git denied to old_username.
fatal: unable to access 'https://github.com/new_username/repository_name.git/': The requested URL returned error: 403
I am using Android Studio 1.2.2 on Windows OS.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…