# GitHub Hosts **Repository Path**: yzbtdiy/githubhosts ## Basic Information - **Project Name**: GitHub Hosts - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2020-01-23 - **Last Updated**: 2021-03-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GitHub Hosts 近期通过 dns 解析 github 域名部分地区会出现无法访问的问题,通过修改 hosts 文件可以解决该问题 Windows:`C:\Windows\System32\drivers\etc\hosts` Linux:`/etc/hosts` ```hosts 140.82.114.3 github.com 140.82.113.5 api.github.com 140.82.112.4 gist.github.com 199.232.68.133 raw.githubusercontent.com 199.232.68.133 camo.githubusercontent.com 199.232.68.133 github.map.fastly.net 199.232.69.194 github.global.ssl.fastly.net 199.232.68.133 avatars0.githubusercontent.com 199.232.68.133 avatars1.githubusercontent.com 199.232.68.133 avatars2.githubusercontent.com 199.232.68.133 avatars3.githubusercontent.com 199.232.68.133 avatars4.githubusercontent.com 199.232.68.133 avatars5.githubusercontent.com 199.232.68.133 avatars6.githubusercontent.com 199.232.68.133 avatars7.githubusercontent.com 199.232.68.133 avatars8.githubusercontent.com 199.232.68.133 avatars9.githubusercontent.com 199.232.68.133 avatars10.githubusercontent.com 199.232.68.133 avatars11.githubusercontent.com ``` ## 使用 cnpmjs.org 提供的镜像可以极大提高拉取代码的速度 ``` https://github.com.cnpmjs.org/USER/REPO.git ```