Git单台电脑多人协同

1.ssh-keygen -t rsa -f ~/.ssh/id_rsa.xxxxx

  1. chmod 644 ~/.ssh/config
  2. vim ~/.ssh/config

    Host xxxx.xxxx.com
    
    User xxxxx
    
    IdentityFile ~/.ssh/id_rsa.xxxxxx
    
  3. id_rsa.xxxxxx.pub里的公钥内容全部复制到git里
Tags:none
上一篇
下一篇

添加新评论