Multiple github accounts on the same computer?

后端 未结 25 2242
野的像风
野的像风 2020-11-22 02:56

Trying to work on my both my actual \"work\" repos, and my personal repos on git hub, from my computer.

The work account was set up first, and everything works flawl

25条回答
  •  长情又很酷
    2020-11-22 03:32

    I found this gem to be very useful: sshwitch

    https://github.com/agush22/sshwitch
    http://rubygems.org/gems/sshwitch

    It helps to switch out ssh keys. Remember to back up everything first!

    Also to make sure that commits have the correct email address associated with them, I made sure that the ~/.gitconfig file had the proper email address.

提交回复
热议问题