树莓派3B解决git克隆报错:RPC failed; curl 16 Error in the HTTP2 framing layer

      大家好,我是小智!
      本文介绍了解决“git clone报错:RPC failed; curl 16 Error in the HTTP2 framing layer”的方法。

问题描述

image

形成原因

出现该问题通常是由于网络不稳定或Git在使用HTTP/2协议时发生错误导致的。

解决办法

禁用 Git 对 HTTP2 的支持,使用 HTTP1.1,输入命令:

git config --global http.version HTTP/1.1

成功示例

image

posted @ 2025-03-17 15:50  努力赚钱的小智  阅读(695)  评论(0)    收藏  举报