mac 通过 Homebrew 安装 git 遇到的问题

问题真多啊 !!!

  • 解决方式 见 1. / 2. / 3 . / 4. / 5.
js 复制代码
remote: Enumerating objects: 290323, done.
remote: Counting objects: 100% (473/473), done.
remote: Compressing objects: 100% (253/253), done.
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 638 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Failed during: /usr/bin/git fetch --quiet --progress --force origin
** 1.  git config --global http.version HTTP/1.1 **
js 复制代码
remote: Enumerating objects: 290323, done.
remote: Counting objects: 100% (473/473), done.
remote: Compressing objects: 100% (253/253), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 8177 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Failed during: /usr/bin/git fetch --quiet --progress --force origin

** 2.  git config --global http.lowSpeedLimit 0 **
** 3.  git config --global http.lowSpeedTime 999999 **
js 复制代码
fatal: unable to access 'https://github.com/Homebrew/brew/': Failed to connect to github.com port 443 after 75001 ms: Couldn't connect to server
Failed during: /usr/bin/git fetch --quiet --progress --force origin
 ** 4. git config --global --unset http.proxy **  
js 复制代码
remote: Enumerating objects: 290333, done.
remote: Counting objects: 100% (483/483), done.
remote: Compressing objects: 100% (259/259), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 10670 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Failed during: /usr/bin/git fetch --quiet --progress --force origin
** 5. git config --global http.postBuffer 12244288000 **
相关推荐
Zucker n1 小时前
配置 GitHub SSH 密钥认证(自用笔记)
git
你疯了抱抱我4 小时前
【自用】SKTOOL samkoon显控云组态软件在高分辨率屏幕下的字体、界面过小问题解决办法
macos·虚拟机·工控
threerocks4 小时前
还要什么 UU 远程?Ghostty 作者新作 Rex 让手机丝滑控全套 AI Harness,旅游办公真落地了
macos
iOS_MingXing5 小时前
iOS导航栏左上角显示一块白色圆角/圆形
macos·ios·cocoa
FungLeo6 小时前
Swift macOS 游戏开发实战|空当接龙 20|Swift macOS 项目复盘,从规则实现到桌面产品
macos·软件工程·swift·游戏开发·项目复盘
GoodStudyAndDayDayUp8 小时前
GXW-Git规范
git
沐飞工具箱1 天前
长视频自动切片的技术逻辑:如何结合语音、画面与时间轴识别真正的内容高光?
ide·macos·音视频·xcode·用户运营·内容运营
JEECG低代码平台1 天前
开源工具网页快开 v1.1.0 发布:Mac 用 Spotlight 拼音直达常用网址
macos·开源软件
weixin_307779131 天前
Git中获取一个目录下所有文件的最后修改人的邮箱
开发语言·git·算法
TheBlackHoleLab1 天前
WorkBuddy+REA macOs下的安装以及配置教程
macos·rea·workbuddy·逆向agent