latex 排版的论文,.gitignore 里已经添加*.pdf 希望让 pdf 不上传了, github 还是自动会在 push origin dev 或 master 时自动上传 main.pdf ,最近因为 main.pdf 超过 100M 了,所以每次上传超慢,而且会提示:
remote: error: File main.pdf is 100.08 MB; this exceeds GitHub's file size limit of 100.00 MB
按照 https://help.github.com/articles/removing-files-from-a-repository-s-history/ 的说明:
依次使用命令:
git rm --cached main.pdf
git commit --amend -CHEAD
git push origin dev
好像还是会报错:
remote: error: File main.pdf is 100.08 MB; this exceeds GitHub's file size limit of 100.00 MB
请问这种情况该怎么办?
谢谢!
remote: error: File main.pdf is 100.08 MB; this exceeds GitHub's file size limit of 100.00 MB
按照 https://help.github.com/articles/removing-files-from-a-repository-s-history/ 的说明:
依次使用命令:
git rm --cached main.pdf
git commit --amend -CHEAD
git push origin dev
好像还是会报错:
remote: error: File main.pdf is 100.08 MB; this exceeds GitHub's file size limit of 100.00 MB
请问这种情况该怎么办?
谢谢!


