git error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 fatal: the remote end hung up unexpectedly

git error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500

fatal: the remote end hung up unexpectedly

原因使用http协议进行传输的缓存区太小

解决方案:

将缓存区提高到500MB或者更高,看自己的项目需要。

git config http.postBuffer 524288000 //500MB

 

 

 

posted on 2024-08-19 15:01  写最骚的代码  阅读(1226)  评论(0)    收藏  举报