本地生成ssh key
D:\Project\git
右鍵->git bash here->
git config --global user.name"1217042356@qq.com"
git config --global user.email"1217042356@qq.com"
ssh-keygen -t rsa -C?1217042356@qq.com
輸入:
id_rsa四個回車
把生成的公鑰
id_rsa.pub
復(fù)制到github
https://github.com/settings/keys
add ssh keys