git error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

网友投稿 1231 2022-08-27

git error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

今天在使用git命令提交代码的时候,出现了下面的问题:

Writing objects: 100% (13/13), 206.83 KiB | 25.85 MiB/s, done.Total 13 (delta 5), reused 0 (delta 0)error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)fatal: the remote end hung up unexpectedlyfatal: the remote end hung up unexpectedlyEverything up-to-date

解决方法

git config --global HTTP/1.1

然后重新push就OK了

Enumerating objects: 19, done.Counting objects: 100% (19/19), done.Delta compression using up to 8 threadsCompressing objects: 100% (13/13), done.Writing objects: 100% (13/13), 206.83 KiB | 29.55 MiB/s, done.Total 13 (delta 5), reused 0 (delta 0)remote: Resolving deltas: 100% (5/5), completed with 5 local objects

参考文献

​​error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)​​

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:keras 用了ImageDataGenerator(1.0/255)之后的predict和predict_generator预测结果不一致的问题
下一篇:PaddlePaddle动手实现三个版本的CrossEntropy
相关文章

 发表评论

暂时没有评论,来抢沙发吧~