[FAQ] Large files detected. You may want to try Git Large File Storage

Git 提交文件大于 100M 时提示需要使用 Git LFS。

Ubuntu 安装示例:

$ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
$ sudo apt-get install git-lfs
$ git lfs install

开始追踪大文件:

git lfs track "*.sql"
git add -A

Doc:https://git-lfs.github.com

Link:https://www.cnblogs.com/farwish/p/13157555.html

原文地址:https://www.cnblogs.com/farwish/p/13157555.html