【发布时间】:2020-07-04 15:58:23
【问题描述】:
希望你们一切都好!
稍微了解一下,我是一名 CS 学生,正在上编程课……在管理所需不同软件的安装方面,我们与同学和教授遇到了很多问题因为 COVID-19,为全班同学。
上周老师和我的同学都很沮丧,所以我决定尝试做点什么...确保它有效,我需要将它存储在 GitHub 中以便访问。我们的想法是将其呈现给学校的主任并将其应用于所有其他课程。
问题是 .OVA 的重量超过 1.5GB,有什么办法吗? (我来自拉丁美洲,因此由于语言障碍,即使是教授也很难访问在线资源......他不知道如何使它工作)
这是我遇到的错误和推送尝试:
`$ git push
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 12 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 1.19 GiB | 3.63 MiB/s, done.
Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 5a70985822031aa2dd6d1dde62f31020
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File TecnicasCalidadDeSoftware.ova is 1240.53 MB; this exceeds GitHub's file size limit of 100.00 MB
To github.com:Chrisvimu/TCY-Duoc2020.git
! [remot
e 拒绝] ChrisDev -> ChrisDev(预接收挂钩被拒绝) 错误:未能将一些参考资料推送到 'github.com:Chrisvimu/TCY-Duoc2020.git' `
感谢您的回答,我询问的目的是深入了解如何拆分 .OVA 文件而不破坏它,但发现我的思考过程是错误的。再次感谢! :D
【问题讨论】:
-
如错误信息所示,您无法将大小超过 100 MB 的文件直接推送到 GitHub。如上所述尝试git-lfs.github.com,这应该会有所帮助
-
@MadhuBhat 感谢您的回复,我将在未来考虑 LFS,但我认为使用 Google Drive 之类的存储可以更好地解决我的问题 :)!
标签: git github virtual-machine virtualbox