git 800MB evernote 备份 - 远程端意外挂断错误

git 800MB evernote backup - remote end hung up unexpectedly error

我似乎正在经历 "remote end hung up unexpectedly error" 记录的 here, and here

但就我而言,我正在尝试备份我的 Evernote 的初始副本(压缩后大约 800MB)。以 80KB/s 的速度上传 link,大约需要 3 个小时。

我在 Bitbucket and GitLab 上都遇到了同样的错误。我正在为这两项服务使用免费版本。两种服务都声称支持这种回购大小

知道是什么导致了这个问题吗?错误信息如下。

谢谢!

p.s。我唯一配置的是保持 CRLF 设置不变(禁用 git 的自动更正)

Counting objects: 13821, done. Delta compression using up to 8
threads. Compressing objects: 100% (13608/13608), done. Write failed:
Broken pipe62/13821), 44.26 MiB | 114.00 KiB/s fatal: The remote end
hung up unexpectedly error: pack-objects died of signal 13 error:
failed to push some refs to
'git@bitbucket.org:<username>/<repo>.git'

虽然回购限制通常为 1GB(在 GitHub 或 Bitbucket 上),但一个 文件 不能超过特定大小。

比如100MB on GitHub.
如果备份有一个大于 100MB 的文件(如存档),所有推送将被拒绝。

GitHub 有 support for larger files with LFS (early acces), GitLab is planning to support it also (update Nov. 2015: GitLab does support LFS),并且支持 git-附件。

根据之前的回答和我个人的经验,GIT绝对不应该作为大文件(资源)的存放地,而是小文件(代码文件)的存放地。这背后的原因是保留上传到存储库的文件的更改历史记录(因此很容易回滚到同一文件的以前版本)。

一个800MB的备份文件应该存储在存储库中,例如Dropbox,它面向资源存储,而不是代码存储。