我见过很多类似问题的实例,但它们通常似乎与HTTPS有关(如下所示,我使用的是直接的HTTP)或缓冲区大小(我尝试使用"git config http.postBuffer设置缓冲区大小) 524288000"即使我推送的文件是空的"或在客户端使用Windows(我在Ubuntu上).
我已经使用git-http-backend设置了一个git服务器,在服务器上创建了一个空的repo,并在本地成功克隆了它.我添加了一个空文件并尝试推送它,然后上传然后挂起总线.
$ GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push
07:07:45.884509 git.c:344 trace: built-in: git 'push'
warning: push.default is unset; its implicit value has changed in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the traditional behavior, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already …Run Code Online (Sandbox Code Playgroud) 我有一个用C++编写的大型复杂应用程序(没有MFC或.NET).最积极地使用该软件的客户端将在启动它的一个小时左右内进入一个所有窗口停止绘画的状态.我们得到报告称应用程序已"挂起",因为只要他们可以说什么都没有发生.实际上,应用程序正在运行,只是没有显示任何内容.
我尝试了很多不同的事情但无济于事.我没有想法......