我有一个非常大的.framework
文件,由于某些原因Git LFS无法正常工作,所以我决定忽略它,以便不被推送。
- I added it to my
.gitignore
. I ran these 3 commands from Terminal
git rm -r --cached . git add . git commit -m "fixed untracked files"
I confirmed that the
.framework
is no longer being tracked.When I try to push the commit again, I still get the error that the file is too large.
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: error: Trace: 6b97634aa8b5de75e8affdcb19d13b98 remote: error: See http://git.io/iEPt8g for more information. remote: error: File path/to/My.framework/Versions/A/My is 101.13 MB; this exceeds GitHub's file size limit of 100.00 MB
I also deleted the file entirely and it is still attempting to push it.
.framework
并不总是这么大。它最近才变成了>100MB,所以过去可以轻松推送。这里有什么解决方案吗?
git show
对当前提交有什么说法? - Etan Reisner.framework
,还是目录My.framework
? - Makoto