Change Github account in Android Studio Change Github account in Android Studio android android

Change Github account in Android Studio


Go to:
Setting --> Version Control --> GitHub --> Change you username.

enter image description here


Step 1

Change file config in directory .git that located in your project folder

lala

Step 2

In terminal @ current project, type:
git credential-manager uninstall

Cheers~


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.

enter image description here

Done