git 配置多用户
.ssh 下的 config.txt 内容
# 配置github.com
Host github.com
HostName github.com
IdentityFile ~/.ssh/id_rsa_github
PreferredAuthentications publickey
User 289792436@qq.com
# 配置jd git
Host git.jd.com
HostName git.jd.com
IdentityFile ~/.ssh/id_rsa
PreferredAuthentications publickey
User cnooc_zhangjianbin
博客所有内容仅供自已学习和学习过程的记录,如有侵权,请联系我删除!!!