git更新时提示ssh:Could not resolve hostname git.xxx.com: Temporary failure in name resolution


 
 执行git pull报下面错误信息:
ssh: Could not resolve hostname git.xxx.com: Temporary failure in name resolution
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
 
 
以前都是正常的,今天突然就报这个错误了,想起今天把虚拟机网络Ipv4获取ip的方式由自动(Automatic)改为了手动(Manual)(因为虚拟机ip总是改变,对工作使用造成了一定影响), 重新改为Automatic,重启网络,测试正常了。
 
(IP总是变化的问题还是没有解决啊,哭)
 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM