Change Github account in Android Studio
Step 1
Change file config
in directory .git
that located in your project folder
Step 2
In terminal @ current project, type:git credential-manager uninstall
Cheers~
In my case none of working. This way works for me.
Steps:
- Open Settings of Android studio
- Select Appearance & Behavior
- Select System Settings
- Select Passwords
- Select Do not remember passwords
- 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