javascript - git 推送到远程时遇到的问题

 毛云龙hei 发布于 2022-11-17 10:13

这个是sourceTree上的错误提示
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin derek:derek
POST git-receive-pack (chunked)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; HTTP 411 curl 22 The requested URL returned error: 411 Length Required
Pushing to http://gitlab.gaodun.com/stat...
To http://gitlab.gaodun.com/stat...

这个是git命令行提示的错误:
Counting objects: 106, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (104/104), done.
error: RPC failed; HTTP 411 curl 22 The requested URL returned error: 411 Length Required
fatal: The remote end huWng uritip unng oexpectedly
Writing objects: 100% (106/106), 14.07 MiB | 12.65 MiB/s, done.
Total 106 (delta 20), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Everything up-to-date

这个是什么问题呢,还请指教

1 个回答
  • git POST 缓冲区过小.

    git config http.postBuffer 524288000

    2022-11-17 10:26 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有