git push的时候文件超出大小限制,无法push,
错误提示:
remote: warning: Large files detected.
remote: error: File zClient/EasyClient.sdf is 124.63 MB; this exceeds file size limit of 100.0 MB
remote: error: hook declined to update refs/heads/master
解决办法:
git filter-branch --force --index-filter "git rm --cached --ignore-unmatch zClient/EasyClient.sdf" --prune-empty --tag-name-filter cat -- --all
git commit --amend -CHEAD
git push origin master