Muhamed Riyas M
Muhamed Riyas M

Reputation: 5183

Multiple Github account in android studio

I am working on different client projects and each will have different git user (username and password will be different). I am not able to find a way to save multiple git account against each project (multiple git clone urls). How can we configure multiple Github accounts in Android studio?

Upvotes: 9

Views: 5687

Answers (2)

M Umer
M Umer

Reputation: 413

To configure multiple GitHub accounts just follow the steps below:

Goto File -> Settings -> Version Control -> Github.

press Alt + insert to enter a new GitHub account to your android studio.

enter image description here

Upvotes: 6

Sandeep PC
Sandeep PC

Reputation: 867

For each of your project : Set git remote url pointing to your specific github account And when you push your commits just use account credential related to that git account

Upvotes: 2

Related Questions