git config --global user.name "lick"
git config --global user.email "987723764@qq.com"
C:\Users\lick\.ssh\
目录下会生成两个文件,id_rsa和id_rsa.pubssh-keygen -t rsa -C "987723764@qq.com"
New SSH key
按钮,Add SSH key
按钮即可。
原文:https://www.cnblogs.com/lick468/p/13339642.html