Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

nitrohe/githubHost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

16 Commits

Repository files navigation

github Host

github代码clone加速, 查找域名对应的ip地址,并修改hosts文件;

windows

get host

使用cmd脚本nscmd.bat获取github host 或者单独执行以下cmd命令

nslookup github.com
nslookup github.global.ssl.fastly.net

写入到hosts文件中

SwitchHosts set

SwitchHosts 软件设置远程 hosts更新规则 https://gitee.com/nitrohe/githubHost/raw/master/hosts (使用的是码云上的hosts文件,防止github ip更新时获取不到)

备用https://raw.githubusercontent.com/nitrohe/githubHost/master/hosts

manually set

手动更新文件C:\Windows\System32\drivers\etc\hosts

刷新DNS缓存

在cmd中输入ipconfig /flushdns命令即可 ;

About

hosts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /