欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 文旅 > 明星 > mac 通过 Homebrew 安装 git 遇到的问题

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

2025/2/5 22:06:51 来源:https://blog.csdn.net/cs_dn_Jie/article/details/145325865  浏览:    关键词: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 **

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com