【Git】修复Git RPC Failed HTTP 500 curl 22错误

现象

Git推送分支时,被中断,输出以下错误

shell 复制代码
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
原因分析

Git设置的通信缓存较小,对于数据量较大的分支,推送时缓存空间不够,导致传输中断

解决方法

全局增大Git通信缓存大小

shell 复制代码
git config --global http.postBuffer 524288000
相关推荐
Ever_Zhang33 分钟前
Git 大文件使用 Git-LFS 管理,推送失败
git·git lfs·gitattributes·git 推送大文件
游戏开发爱好者81 小时前
iOS15描述文件在哪下载?iOS15测试版描述文件下载与升级教程
websocket·网络协议·tcp/ip·http·网络安全·https·udp
-曾牛2 小时前
Git Flow
大数据·git·学习·elasticsearch·个人开发
摆烂z2 小时前
拦截器获取http的body后HttpServletRequest不可重复读
网络·网络协议·http
Zfox_2 小时前
Git 进阶之路:高效协作之分支管理
大数据·linux·运维·c++·git·elasticsearch
小生不才yz3 小时前
23. git reset
git
码农小站4 小时前
开发手记 | IDEA代码Push后回退
git
兔六哥4 小时前
当更改新的 git 仓库地址时,不要着急执行 clone 应该先运行这个
git
日月星辰Ace8 小时前
OSI 网络七层模型
网络协议·http·https
weixin-a1530030831610 小时前
git常用命令
git