惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threatpost
Latest news
Latest news
N
News | PayPal Newsroom
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
GbyAI
GbyAI
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
美团技术团队
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
博客园 - 聂微东
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
SecWiki News
SecWiki News
S
Secure Thoughts
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed

LimeBit

我写了一个 Windows 灵动岛 - LimeBit 当年全网疯找的100%晴女网站,我给它做了个完美复刻版! - LimeBit 回顾:微信小程序用户授权登录 - LimeBit Git:启程 - LimeBit VUE3:初入门槛 - LimeBit 海内存知己,天涯若比邻。欢迎光临我的博客! - LimeBit 内网穿透 | frp 自建内网穿透服务操作心得 - LimeBit Web与微信云开发交互:SDK小程序数据库操作 - LimeBit 实践记录:《企业多业务网络融合部署》—— IP路由通信 - LimeBit 1Panel - 食用方法以及心得 - LimeBit
记录解决 git 拉取速度慢的解决办法 - LimeBit
Ryen · 2026-02-07 · via LimeBit

前言

每当 pull 一次 github 仓库,我就紧张一次,不论你的梯子有多强大,没有正确设置 git 代理,拉取速度都能和某盘有的一拼......

于是我在网络上找到了相关解决办法,现把方法记录下来,防止以后忘记了。

解决方法

  1. 给 git 设置 http 代理
git config --global http.proxy http://localhost:端口号

这里填写你的 http 代理端口号,在代理软件里一般都能找到。

  1. 给git配置 postBuffer
git config --global http.postBuffer 524288000

这个是邪修大法,据说能提高 有大量的小文件的代码库 传输效率。


上面两个方法都设置完成以后,我的拉取速度基本在 2 - 8 Mb/s 左右,完全足够使用。

至于为什么配置的镜像源没作用,只能说国内的镜像源好像都不怎么维护,我用过要么挂要么找不到镜像之类的。