首页 > 解决方案 > 这超出了 GitHub 的文件大小限制 100.00 MB

问题描述

我正在尝试将文件本地推送到 git 存储库,但我错误地提交了一个超过 100mb 的大文件

我正在尝试将其从承诺中删除,但每当我尝试推动时它都会拒绝我犯了这个错误

remote: Resolving deltas: 100% (283/283), completed with 14 local objects.
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: f119480af6d77b2c6c04d9e66442bd7cad547d6c27f37616bc5aa42a614ae4bb
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File Acar-Yatak.rar is 119.44 MB; this exceeds GitHub's file size limit of 100.00 MB

但是,当我尝试将其删除时,出现此错误:

fatal: pathspec 'Acar-Yatak.rar' did not match any files

标签: git

解决方案


推荐阅读