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

时间:2014-05-09 06:35:41   收藏:0   阅读:341

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

Github 修正上传时“this exceeds GitHub’s file size limit of 100 MB”错误,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!