[英]GIT error: HTTP 999 curl 22 The requested URL returned error: 999 fatal: the remote end hung up unexpectedly 999
When trying to push to a git repository, always received a 999 error.尝试推送到 git 存储库时,总是收到 999 错误。
After several hours of seeking found the solution and want to share it if anybody else comes with this problem.经过几个小时的寻找找到了解决方案,如果其他人遇到这个问题,想分享一下。
The solution is that git is not happy with files larger than 1Mb.解决方案是 git 对大于 1Mb 的文件不满意。 To change this, to go to the.git folder and edit the config file and add the size constrains:
要更改此设置,请将 go 更改为 .git 文件夹并编辑配置文件并添加大小约束:
[http]
postBuffer = 2048M
maxRequestBuffer = 1024M
[ssh]
postBuffer = 2048M
maxRequestBuffer = 1024M
[pack]
windowMemory = 256m
packSizeLimit = 256m
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.