报错信息
remote: error: See https://gh.io/lfs for more information.
remote: error: File xxx/xxx is 144.72 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
解决方法,找到单个的大文件,用winRAR压缩为多个分卷,每个分卷最大为100MB即可
然后使用git filter-branch 命令把关联的所有commit进行修改,删除在commit区存在的大文件
git filter-branch --force --index-filter "git rm -rf --cached --ignore-unmatch xxx/xxx" --prune-empty --tag-name-filter cat -- --all
然后再正常提交即可
git push origin master