红联Linux门户
Linux帮助

Github修正上传时“this exceeds GitHub’s file size limit of 100 MB”错误

发布时间:2014-05-31 21:38:40来源:红联作者:empast
Github只允许上传最大100MB的文件,如果超过,则会被server reject

则需:

git filter-branch --force --index-filter "git rm --cached --ignore-unmatch Project1/Project1.1\ Sample\ Project/output.txt" --prune-empty --tag-name-filter cat -- --all

git commit --amend -CHEAD

git push origin master

注意要在.git文件夹目录下执行以上命令。

来源:Linux社区
文章评论

共有 0 条评论