Warning: Permanently added the RSA host key for IP address '13.250.177.223'

在使用git push origin master推送内容到github上时报如下错误:

Warning: Permanently added the RSA host key for IP address '13.250.177.223' to t                        he list of known hosts.

解决办法:

linux:

在vim /etc/hosts文件下添加如下内容:

13.229.188.59 github.com   根据自己的Ip修改

windows:

在C:\Windows\System32\drivers\etc\hosts文件添加

13.229.188.59 github.com   根据自己的Ip修改

你可能感兴趣的:(git,github,linux)