报错如下:

fatal: Could not read from remote repository.

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

解决方法:
你的ssh key极有可能从ssh agent中移除了
在终端中键入:

ssh-add ~/.ssh/id_rsa

id_rsa是与git仓库关联的ssh密钥(私钥)。

还有其他方法:
https://stackoverflow.com/questions/13509293/git-fatal-could-not-read-from-remote-repository

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐