GitHub:无法同步

时间:2016-10-14 10:19:35

标签: git github github-for-windows

我有一个正在由多人工作的项目。我可以使用命令提示符手动推送更改,但当我尝试在GitHub桌面上同步存储库时,我收到此消息:

Sync failed: The repository doesn't seem to exist anymore. You may not have
access, or it may have been deleted or renamed. 

我已经检查过它并没有被删除或重命名,我不明白没有访问部分,我无法找到任何有关它的信息。

我只是想确认我可以使用GitBash进行推拉,但是当我使用桌面应用程序上的“同步”按钮时它不会同步但我可以提交更改。

1 个答案:

答案 0 :(得分:2)

在我的情况下,原因是我在Github上的SSH密钥暂时未使用,因此未经验证。如果你在命令行上运行git push,它会清楚地告诉你这个错误,而桌面则相当模糊。

ERROR: We're doing an SSH key audit.
Reason: unverified due to lack of use
Please visit https://github.com/settings/keys to
approve this key so we know it's safe.

Fingerprint: xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx
fatal: Could not read from remote repository.

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

您可以转到https://github.com/settings/keys/并重新启用未经验证的任何密钥。