Ping github 請求超時解決方案

sourceTree有的時候push代碼push不上去,請求超時,可能是網絡問題

具體操作看連接:
https://blog.csdn.net/u010377383/article/details/79365049

查詢ip網址:
http://github.global.ssl.fastly.net.ipaddress.com/

在右上角輸入github.com查詢ip
在這裏插入圖片描述
找到ip後,本地host文件路徑:
目錄 C:\Windows\System32\drivers\etc 文件下的 hosts文件打開

文件最後添加140.82.113.3 gitHub.com(ip gitHub.com)

windows PowerShell ,輸入 ping github.com,然後重新push代碼

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章