Git bash 配置多个远端仓库

$ cat .ssh/config
#aliyeye

Host aliyeye.com.cn
    HostName aliyeye.com.cn
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/aliyeye_com_rsa

# gitee
Host gitee.com
    HostName gitee.com
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/gitee_rsa

  

原文地址:https://www.cnblogs.com/zhengwenqiang/p/10248218.html