我正在尝试将现有文件夹上传到 gitHub。 按照说明,我在 Windows 中输入了以下内容:
$ git remote add origin git@github.com:myname/myproject.git
然后
$ git push origin master
我收到以下错误。
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.
这个错误是什么意思,我该如何解决?
最佳答案
来自 this article :
- 打开腻子
- 在“主机名”框中,键入 github.com 然后点击打开
- 你会 收到提示服务器的主机 key 未缓存在注册表中。 点击是然后关闭 Putty(不要 费心尝试登录
- Github 的 主机 key 现在将被缓存
关于git push origin master 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5560150/