添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
爱旅游的盒饭  ·  Unable to configure ...·  15 小时前    · 
刚失恋的啤酒  ·  Checking out pull ...·  20 小时前    · 
热心肠的香蕉  ·  git ...·  昨天    · 
爱搭讪的烈马  ·  Rails 控制台 | GitLab·  2 天前    · 
暴走的钥匙  ·  ruby 数组array 排序sort ...·  3 月前    · 
大力的熊猫  ·  GPT4 Journal Club ...·  1 年前    · 

手动输入法

在要下载到的目录按住shift+右键 选择 在此处打开Powershell窗口
在这里插入图片描述
如要下载的仓库地址:
在这里插入图片描述
通常的git命令下载:

git clone https://github.com/apache/incubator-nuttx.git

CNPMJS.ORG加速通道

git clone https://github.com.cnpmjs.org/apache/incubator-nuttx.git

FastGit.ORG加速通道

git clone https://hub.fastgit.org/apache/incubator-nuttx.git

Cloudflare Workers加速通道

git clone https://github.91chifun.workers.dev//https://github.com/apache/incubator-nuttx.git

如图,下载速度正常
在这里插入图片描述

批处理文件

将下列代码复制到txt文件中,重命名文件扩展名为bat,执行后将以FastGit.ORG加速通道的方式下载。

@echo off
set CNPMJS_ORG=https^:^/^/github^.com^.cnpmjs^.org
set FastGit_ORG=https^:^/^/hub^.fastgit^.org
set Cloudflare_Workers=https^:^/^/github^.91chifun^.workers^.dev^/^/
set DotGit=^.git
echo 请输入Git仓库的完整网址:
set /p website=
git clone %FastGit_ORG%%website:~18%%DotGit%

这里以下载

https://github.com/MiaowLabs/MWbalanced-firmware-none
                    目录系统:Windows 10 20H2在要下载到的目录按住shift+右键 选择在此处打开Powershell窗口如要下载的仓库地址:通常的git命令下载:git clone https://github.com/apache/incubator-nuttx.gitCNPMJS.ORG加速通道git clone https://github.com.cnpmjs.org/apache/incubator-nuttx.gitFastGit.ORG加速通道git clone htt
				
wogit git clone加速命令行工具,使用加速镜像解决从github克隆速度慢的问题,支持git命令透传,可以只在需要clone的时候使用,也可以替代git作为日常使用。 npm i wogit -g wogit的使用,除了支持几个指定特定源的选项之外,其他的与git一致,基本是把git替换成wogit即可 # from git clone https://github.com/chalk/chalk.git wogit clone https://github.com/chalk/chalk.git # 其他参数不变,跟使用git一样,如 wogit clone https://github.com/chalk/chalk.git --depth=1 wogit默认使用cnpmjs镜像,使用 wogit -h 可以随时查看镜像切换的选项 ➜ wog
大家普遍采取的是更改本地的host文件,然后cmd命令刷新 1.需要C:\Windows\System32\drivers\etc然后修改github相关的属性为 219.76.4.4 github-cloud.s3.amazonaws.com 2.执行ipconfig /flushdns命令,刷新 DNS 缓存。 方法二(推荐) 前期的准备:首先自己将代理开启,系统代理模式改为全局模式... 注:转载请标明原文出处链接:https://xiongyiming.blog.csdn.net/article/details/106061601 经常从GitHub下载代码非常慢,有时还容易卡住。 例如从GitHub下载OpenCV,速度太慢,下载几次都没下载下来。
通常用git下载都会在几k至十几k,非常慢且容易超时。 可以通过代理下载的方式加速。 主要方式就是将git clone https://github.com/xxx.git 改为git clone https://github.com.cnpmjs.org/xxx.git 这样速度就会有很大提升! 加速前: 加速后:
github下载一些较大的项目时,龟速的下载让人头皮发麻,而且还会下载失败,如何解决呢? 使用码云Gitee进行中转加速 首先进入我们想下载github项目页面,复制项目地址,如 https://github.com/qqwweee/keras-yolo3.git 然后打开码云gitee.com,登录后,点击右上角的加号,选择从github导入仓库,然后输入github项目地址,在将项目设为公...
疫情期间,一直待在新疆的家里,网络情况不好,有时候不得不使用命令行进行操作,普遍速度只有几kb/s,最终摸索出方法,可以达到1mb/s,主要用于pip3 install、git clone、apt-get install等命令情况下。最后,采用“别名”代替冗长的命令段。 prerequisite 首先你得能有机会连接到一条比较快的网上,相比于在ubuntu里面使用命令行,仅让电脑快速上网不是大问题...
windows下:C:\Windows\System32\drivers\etc\hosts末尾添加以下两行内容 Linux:sudo gedit /etc/hosts保存退出重启网络/etc/init.d/networking restart 151.101.185.194 http://github.global.ssl.fastly.net ...
这样通过代理可以比较轻松地加速 **使用git shallow clone来下载** git clone https://github.com/xxx --depth 1 cd xxx git fetch --