美文网首页
GitHub速度慢

GitHub速度慢

作者: 半个木头人 | 来源:发表于2020-07-17 16:22 被阅读0次

github上的代码库访问速度慢,那么就知道真正的解决方案就是要加快git命令的速度。

我使用Shadowsocks代理,默认代理端口为1086,查看端口如下:

配置好代理之后去终端输入git配置命令,开启翻墙代理,电脑连手机4g热点,命令如下

git config --globalhttp.proxy socks5://127.0.0.1:1086git config --globalhttp.https://github.com.proxy socks5://127.0.0.1:1086

更新的时候,速度可达到1M/S ,更新完,可以直接通过下面的命令恢复

git config --global--unset http.proxy

git config --global--unset http.https://github.com.proxy

当然,也可以直接打开.gitconfig文件,删除掉正面的两行配置

相关文章

  • GitHub速度慢

    github上的代码库访问速度慢,那么就知道真正的解决方案就是要加快git命令的速度。 我使用Shadowsock...

  • Goproxy 解决 go get 下载超时

    问题:go get 超时,下载速度慢 使用 goproxy项目地址: Github[https://github....

  • Github “抽插”速度慢了

    昨晚用 hexo 写了点东西想 push 到 github 上,执行 hexo d 之后一直卡住,试了几次还是不行...

  • GitHub下载速度慢

    一句话总结! 将GitHub项目导入码云,使用码云下载! (工具云对不起...) 1、复制项目链接 2、在码云选择...

  • Windows常见问题(持续更新)

    [toc] Windows cmd/Powershell命令 2、Windows访问Github速度慢或失败 3、...

  • Hexo 在 Coding 上部署博客

    之前是在 GitHub 上部署的静态博客,由于 GitHub 属于国外网站,访问速度慢,听闻可以在 Coding ...

  • Github下载速度慢 提升github下载

    gitclone.com 这是我用过最爽最实用功能最全面的一个方式了。gitclone.com是一个提供下载缓存的...

  • 使用Gitee+Hexo搭建个人博客

    为何使用Gitee而不是GitHub 目前国内访问GitHub速度慢,还可能被墙,所以Gitee来构建个人博客。G...

  • Gitee(码云)基本使用

    概要 使用GitHub时,经常遇到速度慢甚至无法连接的情况(墙),而且GitHub创建私有仓库是需要收费的,有以上...

  • Mac访问Github速度慢

    解决方法 访问 http://github.global.ssl.fastly.net.ipaddress.com...

网友评论

      本文标题:GitHub速度慢

      本文链接:https://www.haomeiwen.com/subject/veoghktx.html