打破GitHub单个文件100M大小限制
需要借助git拓展实现该功能。具体操作参见官网:https://git-lfs.github.com/
-
仓库下执行安装拓展指令
git lfs install
-
设置大文件存储追踪,如pdf文件
git lfs track "*.pdf" git add .gitattributes
-
设置已结束。接下来正常git操作即可
git commit -am "add large file" git push origin master
需要借助git拓展实现该功能。具体操作参见官网:https://git-lfs.github.com/
仓库下执行安装拓展指令
git lfs install
设置大文件存储追踪,如pdf文件
git lfs track "*.pdf"
git add .gitattributes
设置已结束。接下来正常git操作即可
git commit -am "add large file"
git push origin master