将本地Git库内容推到Github不能链接的问题

在将本地Git库推送到Github时,会莫名其妙的报一些错误

如:

$ git push -u origin master

The authenticity of host 'github.com (52.74.223.119)' can't be established.

RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.

Are you sure you want to continue connecting (yes/no)?

Host key verification failed.

fatal: Could not read from remote repository.


解决方案:不能直接回车,要输入yes

你可能感兴趣的:(将本地Git库内容推到Github不能链接的问题)