maks / MGit

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

How to set key used by repository? #700

Open Feelcame opened 1 year ago

Feelcame commented 1 year ago

Describe the bug Can not import two or more repositories with ssh-key. I guess Mgit tryed to use for authentication only firstly generated key. How I can to manually ssh-key for this repository?

To Reproduce Steps to reproduce the behavior:

  1. Generate two key-pairs (key1, key2)
  2. Go to github and add deploy keys in settings of repository (key1 to repo1, key2 to repo2)
  3. Try to import repository via MGit by link like this: git@github.com:Username/repo1.git
  4. First repo imported successful. But second repository can not import

Expected behavior I suggested to add the ability set how key will be used

guangrei commented 7 months ago

+1