fatal: Could not read from remote repository.

gitlib配置ssh keys 后再Sourcetree中拉取报Could not read from remote repository

解决办法:删除当前key,然后重新生成key,

ssh-keygen -t rsa -C '***********@xxxx.com'

这里写图片描述
会在本地C:\Users\你的用户名.ssh生成文件夹,里面有id_rsa和id_rsa.pub两个文件
然后复制id_rsa.pub文件里面的内容,到https://github.com/settings/keys新建一个,
这里写图片描述
这里写图片描述

猜你喜欢

转载自blog.csdn.net/o2o_yzz/article/details/80065344