向GitHub推送大提交会导致致命的写入错误:错误的文件描述符 [英] Pushing large commit to GitHub results in a fatal write error: Bad file descriptor
问题描述
我正在使用GitHub来管理我的存储库,并在尝试推送大型提交(1.5 GB)时遇到以下错误。
错误:pack-objects死于信号9
致命:远程端意外挂起
致命:远程终端意外挂起
致命错误:写入错误:错误的文件描述符
如何解决这个问题?
Github由于大的提交大小而丢弃连接。考虑这个帮助页面:
https://help.github.com/articles/working-with-large-files
如果你使用SSH,你会看到类似于
remote:warning:检测到大文件。
remote:error:File giant_file是123.00 MB;这超过了GitHub的文件大小限制为100 MB
在这种情况下,您的提交将被拒绝。使用HTTPS目前无法将错误消息传输到客户端。
I'm using GitHub to manage my repository and I'm getting the following errors while attempting to push a large commit (1.5 GB).
error: pack-objects died of signal 9
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
fatal: write error: Bad file descriptor
Any ideas how to resolve this?
Github drops the connection because of the large commit size. Consider this help page:
https://help.github.com/articles/working-with-large-files
If you use SSH you will see something like this
remote: warning: Large files detected.
remote: error: File giant_file is 123.00 MB; this exceeds GitHub's file size limit of 100 MB
In this case your commit will be rejected. Using HTTPS there is currently no way to transmit the error message to your client.
这篇关于向GitHub推送大提交会导致致命的写入错误:错误的文件描述符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!