github上clone代码 permission denied

从github上clone g2-angular 工程失败了git

garila@**** MINGW64 /d/*****/mygit
$ git clone git@github.com:cipchk/g2-angular
Cloning into 'g2-angular'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

解决办法github

向github帐号中添加本地的id_rsa.pub公钥bash

点击new SSH keyspa

将本地的id_rsa.pub公钥的内容复制进去就行了code

相关文章
相关标签/搜索