Github状态:push错误…!!流产



我试图在Github中推动构建,我一直在获得"中止"状态,我已经尝试了多次,我遇到了同样的错误。不确定,如何解决这个问题?在这方面的任何帮助或建议将是非常伟大的。

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. 

检查您的repo中是否有大型文件。
例如,像这样的配置可以提供帮助:

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

表示git-pack-objects中每个线程用于包窗口内存的最大内存大小。

你也有(如我之前提到的):

git config http.postBuffer 52428800

你也可以使用像BFG Repo-Cleaner这样的工具来删除任何太大的文件

最新更新