December 17, 2015
多git帐号的SSH key切换
1.同一台电脑可以有2个git账号(不同网站的)
首先不同网站,当然可以使用同一个邮箱,比如我的github,gitlab,bitbucket的账号都是gotodiscuss[at]gmail.com 这时候不用担心密钥的问题,因为这些网站push pull 认证的唯一性的是邮箱 比如我的windows 上 2个账号一个gitlab 一个github (用的都是id_rsa)
host github
hostname github.com
Port 22
host gitlab.ikeepstudying.com
hostname gitlab.ikeepstudying.com
Port 65095
不需要指定key的位置。因为默认读… Read More