Git - 推送大文件会出错,远程:致命:关闭sha1文件时出错:输入/输出错误

时间:2017-05-10 15:02:15

标签: git version-control gitlab

我用Git向GitLab推送了一个大文件(1.98 GB),它返回了这个错误:

Counting objects: 6, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 341.73 MiB | 2.13 MiB/s, done.
Total 6 (delta 4), reused 1 (delta 0)
remote: fatal: error when closing sha1 file: Input/output error
error: unpack failed: unpack-objects abnormal exit
To https://gitlab.com/xxxxxxxx/xxxxxxxx.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'https://xxxxxxxx@gitlab.com/xxxxxxxx/xxxxxxxx.git'

这是Git或GitLab的问题吗?

我的电脑有16 GB内存,我使用macOS。

0 个答案:

没有答案