github git clone ssh协议 clone超慢解决方案,提高Github Clone速度
即使进行了fq吧但是git clone ssh协议就是慢 2kb/s你能忍,坚决不能忍。
github git clone ssh协议 clone超慢解决方案
151.101.72.249 global-ssl.fastly.Net
192.30.253.112 github.com
使用这个站点进行查询https://www.ipaddress.com/
# GitHub Start
151.101.76.249 global-ssl.fastly.Net
151.101.76.249 github.global.ssl.fastly.net
192.30.253.121 codeload.github.com
192.30.253.113 github.com
192.30.253.113 www.github.com
192.30.253.118 gist.github.com
151.101.192.133 assets-cdn.github.com
151.101.192.133 raw.githubusercontent.com
151.101.192.133 gist.githubusercontent.com
151.101.192.133 cloud.githubusercontent.com
151.101.192.133 camo.githubusercontent.com
151.101.192.133 avatars0.githubusercontent.com
151.101.192.133 avatars1.githubusercontent.com
151.101.192.133 avatars2.githubusercontent.com
151.101.192.133 avatars3.githubusercontent.com
151.101.192.133 avatars4.githubusercontent.com
151.101.192.133 avatars5.githubusercontent.com
151.101.192.133 avatars6.githubusercontent.com
151.101.192.133 avatars7.githubusercontent.com
151.101.192.133 avatars8.githubusercontent.com
52.216.80.48 github-cloud.s3.amazonaws.com
54.231.40.3 github-com.s3.amazonaws.com
52.216.20.171 github-production-release-asset-2e65be.s3.amazonaws.com
52.216.228.168 github-production-user-asset-6210df.s3.amazonaws.com
# GitHub End
晚上速度200kb/s,白天就木有问题基本上2-4mb/s
v2.json 本地端口设置
"inbounds": [
{
"port": 1086,
"listen": "127.0.0.1",
"protocol": "ss",//有关键词
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"settings": {
"auth": "noauth",
"udp": true,
"ip": null,
"clients": null
},
"streamSettings": null
},
{
"port": 1085,
"listen": "127.0.0.1",
"protocol": "http",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
git clone ssh 加速设置。SSH形式
修改 ~/.ssh/config
文件(不存在则新建):
# git@github.com landv
Host github.com
User landv
HostName github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/gitlandv_rsa
# 走 HTTP 代理
ProxyCommand socat - PROXY:127.0.0.1:%h:%p,proxyport=1085
#
# ProxyCommand nc -v -x 127.0.0.1:1080 %h %p
git clone HTTP 形式
走 HTTP 代理
git config --global http.proxy "http://127.0.0.1:8080"
git config --global https.proxy "http://127.0.0.1:8080"
取消设置
git config --global --unset http.proxy
git config --global --unset https.proxy
限定github.com
git config --global http.https://github.com.proxy http://127.0.0.1:8080
git config --global https.https://github.com.proxy http://127.0.0.1:8080
取消
git config --global --unset http.https://github.com.proxy git config --global --unset https.https://github.com.proxy
git配置查看
git config -l
网名:浩秦;
邮箱:root#landv.pw;
博客:landv.cnblogs.com;
只要我能控制一個國家的貨幣發行,我不在乎誰制定法律。金錢一旦作響,壞話隨之戛然而止。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· 字符编码:从基础到乱码解决
· Open-Sora 2.0 重磅开源!
2018-08-05 金蝶K/3 报销相关SQL语句
2018-08-05 金蝶K/3 审批相关SQL语句
2018-08-05 金蝶K/3 固定置产相关SQL语句