1、创建ssh秘钥: 1)设置git账户: git config --global user.email "[email protected]" git config --global user.name "zhouyehong" 2)创建ssh公钥: ssh-keygen -t rsa -C '[email protected]' 2、添加到个人git账户: 1)cat ~/.ssh/id_rsa.pub :查看秘钥
2)复制到个人账户设置中标签:git,仓库,global,秘钥,ssh,mail,config From: https://www.cnblogs.com/ameliazhou/p/18193517