当前位置: 首页 > article >正文

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

问题真多啊 !!!

  • 解决方式 见 1. / 2. / 3 . / 4. / 5.
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 **

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 **
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 **  
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 **

http://www.kler.cn/a/517101.html

相关文章:

  • 统计文本文件中单词频率的 Swift 与 Bash 实现详解
  • No.36 学习 | Python 函数:从基础到实战
  • 麒麟操作系统服务架构保姆级教程(十四)iptables防火墙四表五链和防火墙应用案例
  • 小游戏源码开发搭建技术栈和服务器配置流程
  • 从根源分析,调试,定位和解决MacOS ld: unsupported tapi file type ‘!tapi-tbd‘ in YAML file
  • 电路研究9.1.1——合宙 Air780EP 模组外围线路
  • ECS中实现Nginx四层和七层负载均衡以及ALB/NLB实现负载均衡
  • react install
  • Langchain+文心一言调用
  • SOME/IP服务接口
  • 干货分享|算法竞赛真题讲解2
  • Liunx上Jenkins 持续集成 Java + Maven + TestNG + Allure + Rest-Assured 接口自动化项目
  • 从语音识别到图像识别:AI如何“看”和“听”
  • 状态模式——C++实现
  • 分布式 IO 模块携手 PLC,开启设备车间降本增效新篇章
  • git cherry-pick从一个分支中选择一个或多个提交(commit)并将其应用到当前分支
  • OpenStack基础架构
  • 以Python 做服务器,N Robot 做客户端,小小UI,拿捏
  • 如何使用Midjourney生成中国蛇年的灵蛇绘画作品
  • Spring WebSocket 与 STOMP 协议结合实现私聊私信功能
  • 【Golang 面试题】每日 3 题(四十三)
  • Linux下动静态库的制作与使用
  • C#编程:List.ForEach与foreach循环的深度对比
  • vim在命令模式下的查找功能
  • Redis内部数据结构--跳表详解
  • 【2024年华为OD机试】 (A卷,100分)- 微服务的集成测试(JavaScriptJava PythonC/C++)