爬蛇的博客  

打开GIT bash
写上命令:
1.git config --global user.name “XXX”
xxx代表你的用户名

2.git config --global user.email "XXX@XXX.com"
输入邮箱

3.生成一个新的SSH密钥
打开 Git Bash,输入如下命令,然后连续按三个回车即可:
ssh-keygen -t rsa -C "your_email@example.com"
然后会出来提示Enter file in which to save the key 后面是一个路径,你就会找到你想要的.ssh文件夹了

posted on 2019-10-22 14:47  爬蛇  阅读(7561)  评论(0编辑  收藏  举报