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

git push报错:error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408
原因 :可能是推送的文件太大,要么是缓存不够,要么是网络不行。
解决方法:

将本地 http.postBuffer 数值调整到500MB,可以根据自己的需求设置。

python 复制代码
git config --global http.postBuffer 524288000  

再次git push成功。

相关推荐
ituff3 分钟前
微软认证考试又免费了
后端·python·flask
梁正雄1 小时前
2、Python流程控制
开发语言·python
Eric.Lee20212 小时前
ubuntu 安装 Miniconda
linux·运维·python·ubuntu·miniconda
无心水2 小时前
【Python实战进阶】1、Python高手养成指南:四阶段突破法从入门到架构师
开发语言·python·django·matplotlib·gil·python实战进阶·python工程化实战进阶
李剑一3 小时前
Python学习笔记1
python
Salt_07285 小时前
DAY 19 数组的常见操作和形状
人工智能·python·机器学习
无心水5 小时前
【Python实战进阶】2、Jupyter Notebook终极指南:为什么说不会Jupyter就等于不会Python?
python·jupyter·信息可视化·binder·google colab·python实战进阶·python工程化实战进阶
上班日常摸鱼6 小时前
Shell脚本基础教程:变量、条件判断、循环、函数实战(附案例)
python
无心水7 小时前
【Python实战进阶】5、Python字符串终极指南:从基础到高性能处理的完整秘籍
开发语言·网络·python·字符串·unicode·python实战进阶·python工业化实战进阶
2301_807583237 小时前
了解python,并编写第一个程序,常见的bug
linux·python