Appearance
ssh登录密钥设置
- 设置用户名和邮箱
shell
git config –global user.name "fyhhub"
git config –global user.email "1131153523@qq.com"git config –global user.name "fyhhub"
git config –global user.email "1131153523@qq.com"- 生成秘钥
ssh-keygen -t rsa -C "1131153523@qq.com"
然后连续回车
找到
.ssh/id_rsa.pub并复制.github上创建ssh new ssh, 将刚才复制的内容粘贴上去,title随便取个名字