小编big*_*ode的帖子

由于二进制文件,无法推送到 Git

因此,由于某些二进制视频文件,我一直在将问题推送到我一直在工作的主分支。当我第一次尝试推送它们时,这些文件太大了。所以我将它们从我正在处理的项目目录中删除。但是现在,当我从第一次初始推送开始尝试推送时,它会返回此错误消息。

Compressing objects: 100% (38/38), done.
Writing objects: 100% (39/39), 326.34 MiB | 639.00 KiB/s, done.
Total 39 (delta 16), reused 0 (delta 0)
remote: error: GH001: Large files detected.
remote: error: Trace: b7371dc6457272213ca1f568d9484c49
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File themes/SomeFile/uploads/me_582610_mountain-river.mov is 315.08 MB; this exceeds GitHub's file size limit of 100 MB
To git@github.com:UserName/Project.git
Run Code Online (Sandbox Code Playgroud)

它说的文件太大,似乎仍然存在于我的目录中,甚至在我的计算机上实际上根本不存在。我把它彻底删除了。这里有什么问题?这是我第一次遇到这个问题。我去了引用的 Git 站点寻求支持,https://help.github.com/articles/working-with-large-files/,然后运行它git rm --cached me_582610_mountain-river.mov并返回消息fatal: pathspec 'me_582610_mountain-river.mov' did not match any files

请任何帮助将不胜感激!

git binaryfiles github command-line-interface

6
推荐指数
1
解决办法
6992
查看次数

标签 统计

binaryfiles ×1

command-line-interface ×1

git ×1

github ×1