github SSH keys.

版权声明:盗版必究 https://blog.csdn.net/qq_36658051/article/details/85089107

1、先设置GitHub的user name和email

git config --global user.name "Git账号" git config --global user.email "Git邮箱"

2、生成一个新的SSH密钥

ssh-keygen -t rsa -C "Git邮箱"

连续按三个回车

3、配置GitHub账户使用 SSH key

注:生成的SSH key路径 /c/Users/admin/.ssh/id_rsa 

猜你喜欢

转载自blog.csdn.net/qq_36658051/article/details/85089107