How to configure GitHub Desktop to use multiple user accounts?

  Kiến thức lập trình

I am trying to add a second GitHub account to GitHub Desktop. I’m able to add a second account to GitHub.com and easily switch between them, but there doesnt seem to be a simple way to do this in the UI of GitHub Desktop. I am not even trying to enable them to commit to each other’s repos (though that would be a nice option to have). I simply want to be able to switch to a different account (Account B) and use the repos that B has and commit to those from Account B. Then, when I need to use my other account (Account A) I want to switch to Account A just like I can do on GitHub.com. Once I have switched to Account A I want to be able to view it’s repos and commit to them.

I was able to find something that showed a work-around to enable something like this a few months ago, but it was on my old computer and I have not been able to find it again since. Every single site I have since come across is talking about using the CLI and SSH keys. That might be fine for many people but it’s not what I’m trying to achieve here. The only thing that I’ve found that seems like it’s kind of close is this but it still doesn’t fully address the issue.

It seems there was a request submitted for this over 6 years ago… and has been upvoted a great many times. How is this still an issue in 2024?

Please assist! Thank you!

New contributor

Laser is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT