间歇性的“致命的:远端意外地挂断”来自TFS GIT的错误 [英] Intermittent "fatal: The remote end hung up unexpectedly" errors from TFS GIT

查看:62
本文介绍了间歇性的“致命的:远端意外地挂断”来自TFS GIT的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在运行TFS 2015 Update 3,我们让开发人员使用git命令行和ssh 连接到TFS。


当他们发出git pull等命令时 或git fetch 他们间歇性地收到此错误:


$ git pull origin dev_434


致命:远程端意外挂断


如果他们重复该命令,它将在第二次(或第三次)尝试时正常工作。



任何想知道问题是什么或我们可以在哪里获得更多信息?


解决方案

嗨迈克尔,


远程服务器中的更改是否太大?


请尝试提高后缓冲区大小:


git config --global http.postBuffer 524288000


有关详细信息,请参阅此主题的答案:


https://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git克隆


或者您可以尝试本文档中的步骤:


https:// blogs.msdn.microsoft.com/dstfs/2016/12/12/fatal-problem-when-pushing-huge-repository-to-tfs-git/


最佳此致


We are running TFS 2015 Update 3 and we have developers using the git command line and ssh  to connect to TFS.

When they issue commands such as git pull  or git fetch  they intermittently get this error:

$ git pull origin dev_434

fatal: The remote end hung up unexpectedly

If they repeat the command it will work fine on the second (or third) try.

Any idea what the issue is or where we can look to get more information?

解决方案

Hi Michael,

Is the changes in the remote server is too big?

Please try to raise the postbuffer size:

git config --global http.postBuffer 524288000

For more information, please refer to the answer of this thread:

https://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git-cloning

Or you could try the steps in this document:

https://blogs.msdn.microsoft.com/dstfs/2016/12/12/fatal-problem-when-pushing-huge-repository-to-tfs-git/

Best Regards


这篇关于间歇性的“致命的:远端意外地挂断”来自TFS GIT的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆