git send-email时报错:Client host rejected: cannot find your hostname 如何处理?

1. 先找出ip对应的域名ip

  dig +short -x <your ip>域名

2. 若是第1步没有输出,那么须要将hostname与ip绑定,如:hostname为jello,那么是往/etc/hosts中写入一下内容hosts

  <ip> jellodi

相关文章
相关标签/搜索