美文网首页
git clone过慢

git clone过慢

作者: it之承影含光 | 来源:发表于2021-03-10 12:09 被阅读0次

1.查询ip

nslookup github.global.ssl.fastly.Net
nslookup github.com

image.png

2.修改本地的hosts文件(ip要使用你本地查看出来的)

sudo vi /etc/hosts
github.global.ssl.fastly.Net 174.37.243.85
github.com 13.229.188.59

image.png

3.刷新本地的dns缓存

sudo dscacheutil -flushcache

4.对比下结果

image.png
image.png

5.还可以是会用chrome插件

image.png

谷歌插件地址

相关文章

  • git clone过慢

    1.查询ip nslookup github.global.ssl.fastly.Netnslookup gith...

  • Git Bash使用随记

    clone 代码 git clone git@xxxxxx默认master分支 clone 指定分支代码 git ...

  • git基础操作

    基本: 从master分支clone git clone地址 从指定分支clone git clone -b 远程...

  • Git常用命令(二)

    1、git clone 功能:克隆git仓。 格式:git clone url 用法: clone完成后,已经存在...

  • Git常用命令

    git clonegit clone git clone ssh://git@xxx.xxx.git克隆远程到本地...

  • gitlab

    git clone 不指定分支 git clone 指定分支

  • git 常用命令

    1、clone项目 git clone 仓库地址 直接clone指定分支git clone -b 分支名 仓库地址...

  • EOS开发环境搭建 EOS笔记

    git clone 首先选择好想要存放的目录,然后使用如下git命令clone项目。 $ git clone ht...

  • git远程操作

    git clone 基本命令git clone <远程版本库> <本地目录名> git clone支持多种协议,除...

  • git常用命令

    git init: git初始化,并生成.git文件; git clone : 克隆项目例: git clone...

网友评论

      本文标题:git clone过慢

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