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
相關文章
相關標籤/搜索