在从gitlab上git clone代码时报错
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
因为本地没有key或者key没有设置到gitlab网站,解决办法参见 https://gitlab.com/help/ssh/README
我的解决办法:
搜索id_rsa.pub文件,我的id_rsa.pub文件位于C:\Users\huaqingbo\.ssh目录下,拷贝文件中的内容,然后打开https://gitlab.com/profile/keys网站并全部粘贴进去即可