2024-03-12 11:38AM
在进行 git clone 时,报错说:
$ git clone https://github.com/lxxxx/xxxxx.git
Cloning into 'react-blog'...
remote: Enumerating objects: 5020, done.
remote: Counting objects: 100% (233/233), done.
remote: Compressing objects: 100% (142/142), done.
error: RPC failed; curl 16 Error in the HTTP2 framing layer/s
error: 4169 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
可以使用该命令:
git config --global http.version HTTP/1.1
或者
git config --global http.version HTTP/2.2
来解决error: RPC failed; curl 16 Error in the HTTP2 framing layer/s报错的问题
登录
请登录后再发表评论。
评论列表:
目前还没有人发表评论