git 突破大文件上传限制

1.安装 lfs: git lfs install

2.跟踪大文件:git lfs track "file.suffix"

3.添加配置文件:git add .gitattributes

之后正常提交,不过可能会遇到这个问题:

Remote "origin" does not support the LFS locking API. Consider disabling it with:...

4.再执行此命令:

$ git lfs push origin master --all

 

posted @ 2019-02-25 13:05  饮茶T  阅读(1156)  评论(0编辑  收藏  举报