繁体   English   中英

Git无法克隆存储库

[英]Git can't clone repository

我正在尝试连接到存储库,但是当我尝试连接时总是会收到此消息

The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 c1:90:ff:d5:6b:78:33:5d:7b:ba:f6:f6:bc:1c:de:79
Connection abandoned.
fatal: Could not read from remote repository.

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

尝试使用ssh手动连接到主机,以确认并存储ssh指纹。 在Windows上,使用一种可以为您处理此问题的结帐工具可能会有所帮助。 据我所知,例如可以使用Eclipse。

如果ssh不适用于您,请尝试使用http / https进行克隆。

另一种解决方案(取决于您的git“服务器” github / bitbucket / stash等)将您的ssh密钥添加到“服务器”,它将起作用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM