今天提交文件的时候发现报错——this exceeds GitHub’s file size limit of 100.00 MB
两种方式解决
先回退提交
git reset --soft HEAD~1
使用LFS
-
1.下载lfs 安装lfshttps://git-lfs.github.com
-
2.进入工程目录
git lfs install git lfs track "*.文件格式" git add .gitattributes
-
按正常文件提交
修改传输大小
修改为500M
git config --global http.postBuffer 524288000