• git »
  • does not map back to the address

does not map back to the address

git push origin master时会出来这样的提示
does not map back to the address – POSSIBLE BREAK-IN ATTEMPT!
Address 192.168.100.100 maps to localhost, but this does not map back to the address – POSSIBLE BREAK-IN ATTEMPT!

是因为DNS服务器把 192.168.x.x 的地址都反向解析成 localhost,而DNS服务器是不能由我们控制的,不能对其进行修改。
解决的办法就是,编辑 客户端 /etc/hosts 文件

ok!

This entry was posted in git

Leave a Reply

电子邮件地址不会被公开。

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">