[英]error: RPC failed; result=52, HTTP code = 0 fatal: The remote end hung up unexpectedly
When I'm pushing or cloning my project to/form bit-bucket
it shows me 当我将项目推入或克隆到/形成
bit-bucket
它向我显示
error: RPC failed; result=52, HTTP code = 0
fatal: The remote end hung up unexpectedly
I have used these but no result found : 我使用了这些,但没有找到结果:
git config --global http.postBuffer 524288000
git config --global http.postBuffer 1048576000
I did not solve my problem yet. 我还没有解决我的问题。 Please suggest me.
请给我建议。
Have you tried cloning it via SSH? 您是否尝试过通过SSH克隆它?
Lets assume you've tried to clone with the command: 假设您尝试使用以下命令进行克隆:
git clone https://USER@bitbucket.org/TEAM/PROJECT.git
Now to clone that repo via ssh
, the command should look something like this: 现在要通过
ssh
克隆该仓库,命令应如下所示:
git clone git@bitbucket.org:TEAM/PROJECT.git
However for this to work, you need to upload your public ssh key into bitbucket. 但是,要使其正常工作,您需要将公共 ssh密钥上传到bitbucket。
On your machine you can find out your ssh public key with the command: 在您的机器上,您可以使用以下命令找到ssh公钥 :
cat ~/.ssh/*.pub
You need to add this key on the bitbucket site (change the USER part of the URL to your username): 您需要在bitbucket网站上添加此密钥(将URL的USER部分更改为您的用户名):
https://bitbucket.org/account/user/USER/ssh-keys/ https://bitbucket.org/account/user/USER/ssh-keys/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.