加速github访问克隆

不定期更新ip地址2017 7月8日更新

github的各种问题

针对GitHub.com 打开忙,布局乱,Git clone速度慢到4K ,或者断开
fatal: early EOF
fatal: The remote end hung up unexpectedly
fatal: index-pack failed
git did not exit cleanly (exit code 128)

修改hosts

  • 用文本编辑器打开:%SystemRoot%\System32\drivers\etc\hosts
  • 复制内容上面文件

已失效

# GitHub Start
#151.101.112.249 github.global.ssl.fastly.net
#110.4.24.178    bit.ly
110.4.24.178    github.com
110.4.24.178    raw.githubusercontent.com
110.4.24.178    gist.github.com
110.4.24.178    assets-cdn.github.com
110.4.24.178    avatars0.githubusercontent.com
110.4.24.178    avatars1.githubusercontent.com
110.4.24.178    avatars2.githubusercontent.com
110.4.24.178    avatars3.githubusercontent.com
110.4.24.178    camo.githubusercontent.com
110.4.24.178    cloud.githubusercontent.com
110.4.24.178    collector.githubapp.com
# GitHub End

已失效

# Github start
192.30.255.118  github.global.ssl.fastly.net
192.30.253.118	gist.github.com
# Github end

2017 07 08

192.30.255.112	gist.github.com
151.101.44.249	global-ssl.fastly.net

windows刷新DNS

启动cmd 命令窗口输入:ipconfig/flushdns
Linux的etc/hosts