windows git多账户配置

参考链接:

https://www.cnblogs.com/popfisher/p/5731232.html

https://blog.csdn.net/baidu_35738377/article/details/54580156

# 配置github.com
Host gitee.com               
    HostName gitee.com
    IdentityFile C:\\Users\\123\\.ssh\\id_rsa
    PreferredAuthentications publickey
    User 汪会龙


# 配置 
Host gitee.com1
    HostName gitee.com  
    IdentityFile C:\\Users\\123\\.ssh\\id_rsa_my
    PreferredAuthentications publickey
    User wanghuilong

猜你喜欢

转载自blog.csdn.net/weixin_41858542/article/details/80837858