git

本地生成ssh key

D:\Project\git

右键->git bash here->

git config --global user.name"[email protected]"

git config --global user.email"[email protected]"

ssh-keygen -t rsa -C [email protected]

输入:

id_rsa四个回车

把生成的公钥

id_rsa.pub

复制到github

https://github.com/settings/keys

add ssh keys

你可能感兴趣的:(git)