maks / MGit

A Git client for Android.
https://manichord.com/projects/mgit.html
GNU General Public License v3.0
1.21k stars 166 forks source link

Multi-Account support #431

Open Serkan-devel opened 5 years ago

Serkan-devel commented 5 years ago

It would be great to administrate repos from different git profiles, from multiple git hosts

kb-1000 commented 5 years ago

Doesn't this already work?

Serkan-devel commented 5 years ago

No, I would need to change username and email, to "switch" accounts

kb-1000 commented 5 years ago

So you want to use a single repository with multiple accounts on multiple Git hosters?

Serkan-devel commented 5 years ago

I want to use multiple accounts for different repos

kb-1000 commented 5 years ago

Again, this is possible, except if you use the same local repository. Please give more information about what you try to do and what goes wrong.

Serkan-devel commented 5 years ago

To switch profiles, I would manually need to edit both username and email in settings. Could there be a way to have profiles each storing email address, username, ssh key and gpg key and use a selection to switch between those profiles?

kb-1000 commented 5 years ago

Well, now I know what you're trying. You can install multiple SSH keys and there's currently no GPG support. And you can edit email address and name in the repo settings. Just click config in the navigation drawer on the right inside a repository. But indeed, an UI for storing multiple email/name pairs to be used would be useful.

Serkan-devel commented 5 years ago

Will this feature be added?