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

来源:互联网 发布:纵横公路预算软件 编辑:程序博客网 时间:2024/04/29 08:41

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文件夹目录下执行以上命令


http://www.walbrix.com/jp/blog/2013-10-github-large-files.html

0 0
原创粉丝点击