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

Github只允许上传最大100MB的文件,如果超过,则会被server reject

则需删除缓存:

      git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch 提示内容过大的文件的文件路径' HEAD

提交:

  git push origin master

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

推荐阅读

Pro Git(中文版)http://git.oschina.net/progit/

 

posted @ 2016-01-27 09:05  空空出家  阅读(2556)  评论(0编辑  收藏  举报