Warning: Permanently added the RSA host key for IP address 'x.x.x.x' to the list of known host

Warning: Permanently added the RSA host key for IP address 'x.x.x.x' to the list of known host

今天在项目中使用 git pull 更新代码的时候突然遇到这样的错误提示
这样的提示另我很不爽

不明白为什么它要提示这个,但按照要求
把IP和git域名绑定关系直接写入hosts文件即可解决该问题

sudo vim /etc/hosts

好了,现在执行 git pull 又清爽了~

你可能感兴趣的:(Warning: Permanently added the RSA host key for IP address 'x.x.x.x' to the list of known host)