〖Linux〗git push orgin master不能解析域名的解决方法

错误信息:

  $ git push origin master

  ssh: Could not resolve hostname bitbucket.org: Name or service not known
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.

解决方法:

  $  vi /etc/resolv.conf # 修改为

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 114.114.114.114 8.8.8.8

  114.114.114.114 是腾讯DNS Server, 8.8.8.8 是Google DNS Server。

〖Linux〗git push orgin master不能解析域名的解决方法,古老的榕树,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。