Github 状态:推送时出错...!!中止?

Github Status : Error in Pushing...!! Aborting?

我正在尝试在 Github 中推送一个构建,我一直在获得 "Aborting" 状态,我已经尝试了多次,我也有同样的经历 error.Not 当然,如何解决这个问题?任何对此的帮助或建议都非常好。

Commit successful
Username for 'https://github.com': ########
Password for 'https://######@github.com': 
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
Error in Pushing..!!  Aborting. 

检查您的存储库中是否有任何大文件。
例如,这样的配置可以提供帮助:

git config --global pack.windowMemory "32m"

它表示git-pack-objects中每个线程消耗的最大内存大小,用于pack window内存。

你还有 (as I mentioned before):

git config http.postBuffer 52428800

您也可以使用 BFG Repo-Cleaner 之类的工具来删除任何过大的文件。