在每次上传图片或者文件时报错,报错信息如下:1
2
3
4
5
6
7
8
9
10Enumerating objects: 79, done.
Counting objects: 100% (69/69), done.
Delta compression using up to 8 threads
Compressing objects: 100% (49/49), done.
Writing objects: 100% (50/50), 427.23 KiB | 23.73 MiB/s, done.
Total 50 (delta 19), 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 unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date
解决办法
1 | git config --global http.version HTTP/1.1 |