push 时 出现 fatal: The remote end hung up unexpectedly

push 出现问题

今天将代码上传github时 出现 了这样的问题
fatal: The remote end hung up unexpectedly

发生的错误 具体是:

Counting objects: 61350, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (20587/20587), done.
efatal: The remote end hung up unexpecterror: RPC failed; HTTP 413 curl 22 The requested U
RL returned error: 413 Request Entity Too Large
dly
Writing objects: 100% (61350/61350), 4.32 GiB | 657.00 KiB/s, done.
Total 61350 (delta 39636), reused 59367 (delta 37653)
fatal: The remote end hung up unexpectedly
Everything up-to-date

这个是由于这次代码上传的太大了 需要在.git的config 里面做一个小修改
即 在config 里面添加:

[http]
postBuffer = 524288000

上面是windows环境下
如果是linux环境下的话 是:

git config http.postBuffer 524288000

搞定 继续 码

๑Ő௰Ő๑)曾经PUSH过,你也是厉害!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值