突然间,当我和我的团队试图向一个特定的仓库推送或拉取时,Github开始显示“fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.”。这在今天早上之前一直是可以正常工作的,所以我很确定这不是我们的SSH密钥出了问题。Github状态显示“All systems operational”。我们可以访问除此之外的所有仓库(仍可以通过Web界面查看该仓库)。我们应该尝试什么来调试这个问题?
git clone git@github.com:user/repo.git tmprepodir
克隆全新的代码库也会产生错误。 - Brad Dwyergit clone git@github.com:user/repo.git
后遇到相同的错误,再试一次用git clone https://github.com/user/repo.git
就可以了。 - Web_Designer