ssh: Could not resolve hostname xxxxxxx.com: Name or service not known
fatal: Could not read from remote repository.
最基本的尝试:
ping www.baidu.com #百度都ping不通,那很明显就是虚拟机网卡的问题
在ping不通的情况下,直接运行 service network restart #重启网卡
然后就完事啦
在ping通的情况下, 自行百度其他解决方法 _