2

收到错误时

fatal: The remote end hung up unexpectedly

我可以运行哪些测试来弄清楚发生了什么?我创建了一个全新的 git 存储库,它不会推送!

以下是其他 StackOverflow 问题建议的一些标准诊断:

$ ssh -T git@github.com
Hi keflavich! You've successfully authenticated, but GitHub does not provide shell access.

我设置为使用 ssh:

$ git remote -v
origin  git@github.com:keflavich/turbulence_pdfs.git (fetch)
origin  git@github.com:keflavich/turbulence_pdfs.git (push)

我收到有关 X11 身份验证的警告:

$ git push -vu origin master
Pushing to git@github.com:keflavich/turbulence_pdfs.git
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
fatal: The remote end hung up unexpectedly

但这些都不重要。

编辑: https 也不起作用......也许这只是 github 服务中断?

error: The requested URL returned error: 403 while accessing https://github.com/keflavich/turbulence_pdfs.git/info/refs
4

2 回答 2

4

原来我太仓促了,这是我现在收到的错误消息(发布后大约 5 分钟):

ERROR: Storage server temporarily offline. See http://status.github.com for GitHub system status.

status.github.com 报告:

21:36 UTC We are investigating issues with a single fileserver cluster. A small number of repositories may be unavailable while we investigate.

于 2013-05-22T21:44:43.570 回答
1

我在 bitbucket 上遇到了同样的问题,我通过以下方式解决了设置更大的 http post 缓冲区的问题:

git config --global http.postBuffer 524288000
于 2014-01-30T06:28:44.377 回答