簡體   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