Github切换Git账号本页总览切换Git账号开启ssh-agent服务 eval "$(ssh-agent -s)" 把刚刚生成的ssh key加入到ssh-agent中 ssh-add ~/.ssh/id_rsa_zjm 测试账号更换是否成功 ssh git@github.com