1.以https://raw.githubusercontent.com无法下载解决流程为例
1.百度打开该网址,找到相应ip地址,选择其中一个即可,是否能连通可用ping操作(代码ping -c 5 ip地址)。
2.打开hosts文件
windows: C:\Windows\System32\drivers\etc\hosts
ubuntu:/etc/hosts(打开代码sudo gedit /etc/hosts)
3.将1中的ip地址复制到hosts文件中。
博文来自:
https://blog.csdn.net/jie030901106/article/details/116596637https://blog.csdn.net/jie030901106/article/details/116596637
补充ping操作详细博文:文章来源:https://www.toymoban.com/news/detail-773438.html
https://blog.csdn.net/yuguiyang1990/article/details/40072445?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522168731400716800185892723%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=168731400716800185892723&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default-4-40072445-null-null.142^v88^control_2,239^v2^insert_chatgpt&utm_term=ubuntu%E6%80%8E%E4%B9%88ping&spm=1018.2226.3001.4187https://blog.csdn.net/yuguiyang1990/article/details/40072445?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522168731400716800185892723%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=168731400716800185892723&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default-4-40072445-null-null.142^v88^control_2,239^v2^insert_chatgpt&utm_term=ubuntu%E6%80%8E%E4%B9%88ping&spm=1018.2226.3001.4187文章来源地址https://www.toymoban.com/news/detail-773438.html
到了这里,关于一些解决被Github拒绝链接的方法的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!