公司搬家,在一臺測試機上執行git clone,出現錯誤git
ssh: Could not resolve hostname **: Temporary failure in name resolutionssh
fatal: The remote end hung up unexpectedly測試
看錯誤提示應該是DNS的解析出了問題,查看/etc/resolv.conf,是空的,查看其餘能夠的測試機配置,有兩條spa
nameserver 192.168.1.48server
nameserver 8.8.8.8rem
原來是這裏配置錯了,添加上,ok。it