1.配置ssh_key

配置用户名

git config --global user.name "wangmingyue"

 

配置邮箱

git config --global user.email "448335044@qq.com"

 

生成公钥和私钥
按3次Enter,

ssh-keygen -t rsa -C "448335044@qq.com"

 

查看公钥

路径是C:\Users\Administrator\.ssh

然后去git添加key

相关文章: