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