收到错误时
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 auth的警告:
$ 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
答案 0 :(得分: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.
答案 1 :(得分:1)
我在bitbucket上遇到了同样的问题,我解决了设置更大的http post缓冲区的问题:
git config --global http.postBuffer 524288000