git push失败,出现以下错误
fatal: RPC failed: curl 52: Empty reply from server
Run Code Online (Sandbox Code Playgroud)
如果仅修改,添加或删除了一个文件,则上载成功.
以下设置无法可靠地工作
git config --global --add core.compression -1
Run Code Online (Sandbox Code Playgroud)
在ubuntu 14.04上运行的git版本是2.8.2,我尝试过openssl和gnutls编译.
ssh遥控器也失败了.
存储库遇到问题
bitbucket
github
gitlab
Run Code Online (Sandbox Code Playgroud)
失败安全的答案赞赏
Edu*_*ros 13
在终端中使用sudo进行克隆,或者输入:
git config --global http.postBuffer 157286400
Run Code Online (Sandbox Code Playgroud)
它为我工作
以下为我工作.
git config --global core.compression 0
git clone --depth 1 <repo> // partial clone to truncate the amount of info coming down
#cd repo // go into the new directory and
git fetch --unshallow //retrieve the rest of the clone
git pull --all //final pull
Run Code Online (Sandbox Code Playgroud)
希望,这可能对有同样问题的人有所帮助.
我与Gideon @ atlassian聊天,他建议使用SSH over HTTPS来修复“ curl 52”错误。
对我来说,切换到SSH可以解决此问题。这是完整的答案:
这是一个HTTP / HTTPS超时问题,涉及一些较大的提交大小或较弱的网络。如果要克隆,是否可以尝试使用这种方法克隆存储库:
您能否尝试在任何git操作帮助之前也查看是否运行此命令:
git config --global http.postBuffer 524288000另外,此问题通常不会在SSH中发生;因此也许值得尝试设置SSH,然后通过SSH进行操作:
https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html
| 归档时间: |
|
| 查看次数: |
12776 次 |
| 最近记录: |