javascript - git 推送到远程时遇到的问题
问题描述
这个是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
这个是什么问题呢,还请指教
git POST 缓冲区过小.
git config http.postBuffer 524288000
这篇关于javascript - git 推送到远程时遇到的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!