首页 > 系统服务 > 详细

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

时间:2014-04-20 22:41:48      阅读:1623      评论:0      收藏:0      [点我收藏+]

错误信息:

  $ 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不能解析域名的解决方法,布布扣,bubuko.com

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

原文:http://www.cnblogs.com/scue/p/3676358.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!