Mac 配置多个git版本库

1 进入ssh目录 #cd ~/.ssh/git 2 用ssh-keygen 生成一组新的id_rsa_new 和 id_rsa_new.pub(前者是私钥,后者是公钥) # ssh-keygen -t rsa -C ‘test@emial.com’ -f id_rsa_new (邮箱为git服务器上用户名;id_rsa_new为新生成的公钥,私钥文件名)web 3 为 新生成的私钥 设置conf
相关文章
相关标签/搜索