简体   繁体   English

git push origin master失败了

[英]git push origin master fails

I am trying to upload an existing folder into gitHub. 我正在尝试将现有文件夹上传到gitHub。 Following instructions I typed the following in windows: 按照说明我在windows中输入以下内容:

$ git remote add origin git@github.com:myname/myproject.git

and then 接着

$ git push origin master

I get the following error. 我收到以下错误。

The server's host key is not cached in the registery. you have no guarantee that the server is the computer you think it is.
THe server;s rsa2 key fingerprint is:
blah blah blah blah
Connection abandoned.
Fatal : the remote end hung up unexpectedly.

What does this error mean and how do I resolve it? 这个错误意味着什么,我该如何解决?

From this article : 这篇文章

  1. Open putty 打开腻子
  2. In the Hostname box, type github.com and click Open 在“主机名”框中,键入github.com ,然后单击“ 打开”
  3. You'll receive a prompt The server's host key is not cached in the registry . 您将收到提示服务器的主机密钥未缓存在注册表中 Click Yes then close Putty (don't bother trying to log in 单击然后关闭Putty(不要打扰尝试登录
  4. Github's host key will now be cached Github的主机密钥现在将被缓存

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

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