开发环境初始化

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

原文地址:https://www.cnblogs.com/ll15888/p/15554545.html