突破GitHub的限制,使用 git-lfs(Git Large File Storage) 支持单个文件超过100M
- 下载Git Large File Storage (LFS):https://git-lfs.github.com/
git lfs install
git lfs track "*.pdf"
andgit lfs track "*.ppt"
会出现.gitattributes文件- 正常的提交
对这些大文件(默认10M)在git的repository里面只存一个小的文本文件,这个文本文件描述了要去哪里下载对应的二进制文件。