DEV Community

Multiple GitHub accounts in the same computer

GaMa on September 18, 2017

Due to work I faced the need of using two or more GitHub accounts, sometimes I need to use the accounts in the same machine. I've been trying to us...
Collapse
 
engineercoding profile image
Wesley Ameling

While it seems like a solution, I think it is not that elegant. You could setup a got user per directory: dev.to/maxlmator/maintaining-diffe...

And you can manage the SSH keys with a SSH config file. I couldn't find the resource I used for that, but if you are interested in that I can write a small post about it. Should also help other people at that same time :)

Collapse
 
ech0server profile image
GaMa

Thank you, if you can write it, it would be great. I came with this "solution" because I did not wanted to spend time looking why I couldn't make it work in any other way I could google, so I went with what I knew :)

Collapse
 
ewoks profile image
Beeblebrox

example in "Multiple SSH Keys" section dev.to/aravindballa/advanced-git-t...